Skip to content

fix: close #18#20

Merged
reaatech merged 1 commit into
mainfrom
issue/ci-failing-on-main-release-18
Jun 4, 2026
Merged

fix: close #18#20
reaatech merged 1 commit into
mainfrom
issue/ci-failing-on-main-release-18

Conversation

@reaatech
Copy link
Copy Markdown
Owner

@reaatech reaatech commented Jun 4, 2026

Summary

The fix changes .github/workflows/release.yml to pass a Personal Access Token via secrets.GH_PAT (with fallback to the built-in secrets.GITHUB_TOKEN) as the GITHUB_TOKEN env var to the changesets/action@v1 step. The built-in GITHUB_TOKEN returns a 403 when the org/repo has "Allow GitHub Actions to create and approve pull requests" disabled, which blocks the action from opening the release PR. A PAT with repo scope bypasses this restriction because it is not subject to that org/repo-level setting.

Closes #18

The fix changes `.github/workflows/release.yml` to pass a Personal Access Token via `secrets.GH_PAT` (with fallback to the built-in `secrets.GITHUB_TOKEN`) as the `GITHUB_TOKEN` env var to the `changesets/action@v1` step. The built-in `GITHUB_TOKEN` returns a 403 when the org/repo has "Allow GitHub Actions to create and approve pull requests" disabled, which blocks the action from opening the release PR. A PAT with `repo` scope bypasses this restriction because it is not subject to that org/repo-level setting.
@reaatech reaatech merged commit a3c1b95 into main Jun 4, 2026
2 checks passed
@reaatech reaatech deleted the issue/ci-failing-on-main-release-18 branch June 4, 2026 01:45
@reaatech
Copy link
Copy Markdown
Owner Author

reaatech commented Jun 4, 2026

✅ PR Pipeline Complete

  • Scope: In scope
  • Coverage: 100%
  • CI: All checks passed
  • Merge: a3c1b95

Release to npm is handled separately by the weekly publish job; this PR will be included if it resolves a High/Critical-labelled issue.

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.

CI failing on main: Release

1 participant