Repository navigation
ci: take the dispatcher's actions to their latest majors - #90
Merged
Merged
Conversation
checkout v5→v7, github-script v8→v9. Both breaking changes miss this repo,
and each was checked rather than assumed.
github-script v9 drops `require('@actions/github')` and injects `getOctokit`
as a parameter, so a script declaring that name with const or let is now a
SyntaxError. No script here does either — every one takes the injected
`github`.
checkout v7 blocks checking out a fork PR under pull_request_target. Every
checkout here names sydevs/claude-workflow at main and never the PR head,
which is the property that makes pull_request_target safe in the first place
(why: docs/why.md#actions-observes-classifies-locks-and-fires).
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This was referenced Sep 10, 2026
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.
Follows #89, which took these to the first Node 24 major. This goes the rest of the way.
actions/checkoutpull_request_targetsydevs/claude-workflowatmain, never the PR headactions/github-scriptrequire('@actions/github');getOctokitis now an injected parameter, soconst/let getOctokitis aSyntaxErrorrequire(, declaresgetOctokit, or touches@actions/githubactions/add-to-projectBoth were checked against the source rather than assumed:
The checkout v7 change is worth noting for a different reason: it hardens exactly the property this design already depends on.
pull_request_targetis safe here because nothing checks out PR code, which is what lets org secrets be present at all (docs/why.md#actions-observes-classifies-locks-and-fires). v7 now enforces at the action what we enforced by convention.The four product repos follow in their own PRs, where CI is the proof.