Skip to content

ci: take the dispatcher's actions to their latest majors - #90

Merged
Ardnived merged 1 commit into
mainfrom
claude/actions-latest
Sep 10, 2026
Merged

Ardnived merged 1 commit into
mainfrom
claude/actions-latest

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Follows #89, which took these to the first Node 24 major. This goes the rest of the way.

Action From To Breaking change Does it hit us
actions/checkout v5 v7 v7 blocks checking out a fork PR under pull_request_target No. Every checkout here names sydevs/claude-workflow at main, never the PR head
actions/github-script v8 v9 drops require('@actions/github'); getOctokit is now an injected parameter, so const/let getOctokit is a SyntaxError No. No script here uses require(, declares getOctokit, or touches @actions/github
actions/add-to-project v2 v2 — already latest

Both were checked against the source rather than assumed:

$ grep -nE "require\(|getOctokit|@actions/github" .github/workflows/*.yml
  (no matches)

$ grep -A5 "actions/checkout" dispatcher.yml | grep -E "repository:|ref:"
  repository: sydevs/claude-workflow    ref: main     ×3

The checkout v7 change is worth noting for a different reason: it hardens exactly the property this design already depends on. pull_request_target is 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.

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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant