Skip to content

ci: set concurrency and grant the token nothing by default - #79

Closed
monosans wants to merge 1 commit into
masterfrom
ci/concurrency-permissions
Closed

monosans wants to merge 1 commit into
masterfrom
ci/concurrency-permissions

Conversation

@monosans

@monosans monosans commented Nov 4, 2026

Copy link
Copy Markdown
Member
  • Every workflow starts from permissions: {}. The token isn't used for checkout of a public repository or for semantic-release (that one uses RELEASE_PAT); only the jobs that need it get contents: write + pull-requests: write (promotion PRs) or security-events: write (CodeQL).
  • Checks group by pull request number, or by branch for pushes, and cancel the superseded run. Releases and promotions run one at a time per branch and aren't cancelled.

🤖 Generated with Claude Code

Every workflow starts from `permissions: {}`; only the jobs that push a
branch, open a pull request or upload code scanning results get the
permissions for it. Checks of a pull request or branch cancel the
superseded run, and releases and promotions run one at a time per
branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@monosans monosans closed this Nov 4, 2026
@monosans
monosans deleted the ci/concurrency-permissions branch November 4, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant