Skip to content

ci(release-plz): provide the git-forge token via GIT_TOKEN - #1078

Merged
mitchmindtree merged 1 commit into
nannou-org:masterfrom
mitchmindtree:fix-release-plz-git-token
Jun 22, 2026
Merged

ci(release-plz): provide the git-forge token via GIT_TOKEN#1078
mitchmindtree merged 1 commit into
nannou-org:masterfrom
mitchmindtree:fix-release-plz-git-token

Conversation

@mitchmindtree

Copy link
Copy Markdown
Member

release-plz reads the forge token used to create the tag and GitHub Release from the GIT_TOKEN env var, not GITHUB_TOKEN. The release job exposed the secret as GITHUB_TOKEN, so release-plz saw no token and failed up front with 'git release not configured. Did you specify git-token and forge?' before publishing anything.

Rename the env var to GIT_TOKEN, matching the working gantz workflow.

release-plz reads the forge token used to create the tag and GitHub
Release from the GIT_TOKEN env var, not GITHUB_TOKEN. The release job
exposed the secret as GITHUB_TOKEN, so release-plz saw no token and
failed up front with 'git release not configured. Did you specify
git-token and forge?' before publishing anything.

Rename the env var to GIT_TOKEN, matching the working gantz workflow.
@mitchmindtree mitchmindtree self-assigned this Jun 22, 2026
@mitchmindtree
mitchmindtree merged commit b699dc6 into nannou-org:master Jun 22, 2026
11 checks passed
@mitchmindtree
mitchmindtree deleted the fix-release-plz-git-token branch June 22, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant