Skip to content

ci: move sentinel to 16d991f and add review-mark.yml - #298

Merged
crenshawdev merged 1 commit into
mainfrom
ci/sentinel-review-env
Oct 26, 2026
Merged

crenshawdev merged 1 commit into
mainfrom
ci/sentinel-review-env

Conversation

@crenshawdev

@crenshawdev crenshawdev commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Moves the sentinel pin to 16d991f, copies the kit's fast.yml and adds its review-mark.yml.

A pull request from a branch of this repository ran its own copy of fast.yml with the review app's key, so the key could be copied out. The key now lives in the sentinel-review-app environment, which only main can deploy to, and only main's runs read it: review-pr, and review-mark.yml, which posts the security-review check as the app once a pull request's review has passed with main's fast.yml and sentinel pin and targets main. A Dependabot pull request is marked without a review only when Dependabot started every pull request run for its head commit.

Tested on a scratch repo: a normal pull request was marked by review-mark.yml, a pull request whose workflow read the key got an empty value and its environment job was refused, a pull request that edits fast.yml was left for the hand-started review, and a fork-style pull request was marked by review-pr. This pull request changes fast.yml itself, so it is marked with gh workflow run fast.yml -f pr=.

The review app's key moves to the sentinel-review-app environment, which
only main can use, and review-mark.yml posts the security-review check
from main once a pull request's review has passed.
@crenshawdev
crenshawdev force-pushed the ci/sentinel-review-env branch from 6a21ccc to b4b1f94 Compare October 26, 2026 00:13
@crenshawdev crenshawdev changed the title ci: move sentinel to 0ca51f1 and add review-mark.yml ci: move sentinel to 16d991f and add review-mark.yml Oct 26, 2026
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

2 findings: 2 low.

The full review is encrypted in this run's security-review artifact. Read it with .sentinel/ci/read-review.sh <pull request number>.

@crenshawdev
crenshawdev merged commit 3aaa250 into main Oct 26, 2026
10 checks passed
@crenshawdev
crenshawdev deleted the ci/sentinel-review-env branch October 26, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant