Repository navigation
Pin fork shim safety properties; amend ADR 0020 - #1947
Merged
Merged
Conversation
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #1784, from its review.
Changes
test/workflow-fork-shims.test.ts: for both fork-facing shims (bids-validation.yml,version-check.yml), assert the job holdspermissions: {}and the workflow none at top level, the App token is minted once and only for.github, the dispatchclient_payloadcarries exactly the current keys (so a new key such as a title or body fails), and the trigger set is exact (pull_requestabsent, the others kept).pull_request_targetis safe for the shims and that a shim change reaches a repository only on redeploy; README index line updated.Test plan
bun teston workflow-fork-shims, adr-index and workflow-yaml: 56 passpull_requestadded, a trigger removed, a checkout added), then reverted