Skip to content

Grant explicit token permissions to release caller jobs - #7

Merged
pbujna-apius merged 2 commits into
mainfrom
chore/workflow-permissions
Jul 20, 2026
Merged

Grant explicit token permissions to release caller jobs#7
pbujna-apius merged 2 commits into
mainfrom
chore/workflow-permissions

Conversation

@pbujna-apius

Copy link
Copy Markdown
Contributor

The Actions default token is now read-only (public-repo hardening, splunk-app-standards#12). A reusable workflow cannot exceed the caller's token grant, so the release and prepare-release caller jobs need explicit permissions or they would fail:

  • release.yml -> contents: write (creates a GitHub Release)
  • prepare-release.yml -> contents: write + pull-requests: write (opens the version-bump PR)

ci.yml (pr-gate) needs only read and is unchanged.

@pbujna-apius
pbujna-apius requested a review from a team as a code owner July 20, 2026 11:09
@pbujna-apius
pbujna-apius merged commit 74ad405 into main Jul 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant