Skip to content

fix(release): use organization token for release PR - #171

Merged
Teakowa merged 1 commit into
mainfrom
agent/wright-169-token-fix
Aug 18, 2026
Merged

fix(release): use organization token for release PR#171
Teakowa merged 1 commit into
mainfrom
agent/wright-169-token-fix

Conversation

@Teakowa

@Teakowa Teakowa commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • use the repository GH_TOKEN secret as GITHUB_TOKEN for release-please;
  • use the same token for checkout and Release PR metadata synchronization;
  • document the required token boundary.

Root cause

The first post-merge run used the workflow's built-in github.token, and GitHub rejected release-please's pull request creation with GitHub Actions is not permitted to create or approve pull requests.

Validation

  • verified the workflow contains no github.token reference;
  • verified token: ${{ secrets.GH_TOKEN }} and GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} are present;
  • parsed both release workflow YAML files;
  • ran git diff --check.

Observed failure: https://github.com/wrightkit/wright/actions/runs/32125755240/job/95675823524

Refs #169

@Teakowa
Teakowa marked this pull request as ready for review August 18, 2026 11:17
@Teakowa
Teakowa merged commit be7a61b into main Aug 18, 2026
13 checks passed
@Teakowa
Teakowa deleted the agent/wright-169-token-fix branch August 18, 2026 11:20
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Make Workshop Great Again Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant