Skip to content

ci(release): publish releases with the workflow's own token - #3

Merged
emka merged 1 commit into
mainfrom
ci/release-with-workflow-token
Oct 6, 2026
Merged

emka merged 1 commit into
mainfrom
ci/release-with-workflow-token

Conversation

@emka

@emka emka commented Oct 6, 2026

Copy link
Copy Markdown
Owner

The personal token is refused when it creates a release, so the release that follows a merged release pull request never happened. Publishing needs no workflow runs, so the push-triggered job uses the default token.

The personal token is refused when it creates a release, so the release
that follows a merged release pull request never happened. Publishing needs
no workflow runs, which is the only reason the pull request uses the personal
token, so the push-triggered job uses the default one.
@emka
emka merged commit 8ea74e1 into main Oct 6, 2026
7 checks passed
@emka
emka deleted the ci/release-with-workflow-token branch October 6, 2026 14:15
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