Skip to content

ci: move the PR title check to Node 24 - #386

Merged
scottlovegrove merged 1 commit into
mainfrom
scottl/semantic-pr-node24
Dec 4, 2026
Merged

scottlovegrove merged 1 commit into
mainfrom
scottl/semantic-pr-node24

Conversation

@scottlovegrove

Copy link
Copy Markdown
Collaborator

This repo's PR title check pins amannn/action-semantic-pull-request v5.0.2, which runs on Node 16. Since 3 December every "Semantic Pull Request" run on that pin fails at startup ("This run likely failed because of a workflow file issue"), here and in the seven other todoist repos that use it, while repos on the Node 20 and Node 24 builds kept passing. The workflow file itself hasn't changed.

This moves the pin to v6.1.1 (48f2562), the Node 24 release already in todoist/allowed-actions and in use in comms-backend and todoist-web. v6's only breaking change is the move to Node 24; the inputs are unchanged.

This PR's own title check will fail at startup too: pull_request_target runs the workflow from the base branch, which still has the old pin. Open PRs pick up the fix once they are based on a main that has it, so stacked PRs need a rebase after this merges.

Moves amannn/action-semantic-pull-request from v5.0.2 (Node 16) to v6.1.1, the
Node 24 release on the todoist allowed-actions list.
@scottlovegrove scottlovegrove self-assigned this Dec 4, 2026

@doistbot doistbot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR updates ci: move the PR title check to Node 24. No issues were flagged in the reviewed diff.

Share Feedback • Review Logs • Trace

@scottlovegrove scottlovegrove added the 🚢 Ship PR requires passing checks before merge, but no independent human review. label Dec 4, 2026
@scottlovegrove
scottlovegrove merged commit a163a30 into main Dec 4, 2026
5 checks passed
@scottlovegrove
scottlovegrove deleted the scottl/semantic-pr-node24 branch December 4, 2026 15:30
scottlovegrove added a commit that referenced this pull request Dec 4, 2026
Since 3 December every run of this repo's PR title check has failed at
startup ("This run likely failed because of a workflow file issue"). The
same workflow file, byte for byte, keeps passing in the private repos
that use it (aist-sdk-typescript, product-libraries-tokens), and the
only `pull_request_target` workflows in the org that fail this way are
this one and its copies in the other two public repos (comms-cli,
todoist-sdk-typescript, twist-cli). Public repos that run the check on
`pull_request` (typist, react-compiler-tracker, todoist-mcp) kept
passing on the same action version, so what fails is
`pull_request_target` in a public repo, not the action. Moving the
action to Node 24 in #386 didn't change that.

This runs the check on `pull_request` instead, as typist and the org's
other public repos do, and limits its token to `pull-requests: read`,
the only access it needs: the action fetches the pull request to read
its current title. Without a `permissions` block the job got the
repository's default write token.

`pull_request` runs the workflow file from the PR itself, so this PR's
own title check exercises the change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚢 Ship PR requires passing checks before merge, but no independent human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants