Skip to content

Limit GitHub App token permissions in workflows#215

Merged
elasticdog merged 1 commit into
mainfrom
push-vqzyusrrqylx
May 21, 2026
Merged

Limit GitHub App token permissions in workflows#215
elasticdog merged 1 commit into
mainfrom
push-vqzyusrrqylx

Conversation

@elasticdog

Copy link
Copy Markdown
Member

Request contents: write for all create-github-app-token call sites because the generated token is used for checkout and for writing repository refs.

Also request pull-requests: write in the version bump workflows because the same token is passed to peter-evans/create-pull-request to open release PRs.

The tag workflows only create or push Git tags, so contents: write is enough there.

Request contents: write for all create-github-app-token call sites
because the generated token is used for checkout and for writing
repository refs.

Also request pull-requests: write in the version bump workflows because
the same token is passed to peter-evans/create-pull-request to open
release PRs.

The tag workflows only create or push Git tags, so contents: write is
enough there.
@elasticdog
elasticdog enabled auto-merge May 21, 2026 22:37
@elasticdog
elasticdog added this pull request to the merge queue May 21, 2026
Merged via the queue into main with commit e6cc1f5 May 21, 2026
7 checks passed
@elasticdog
elasticdog deleted the push-vqzyusrrqylx branch May 21, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant