Skip to content

Fix release PR not triggering workflows#31

Merged
datalek merged 2 commits into
mainfrom
fix/release-workflow-pat
Mar 6, 2026
Merged

Fix release PR not triggering workflows#31
datalek merged 2 commits into
mainfrom
fix/release-workflow-pat

Conversation

@datalek

@datalek datalek commented Mar 6, 2026

Copy link
Copy Markdown
Owner

What's the focus of this PR?

PRs created by changesets/action using GITHUB_TOKEN don't trigger other workflows due to GitHub's security restrictions. This caused the release PR to be stuck because the required pr-checks workflow never ran.
This PR switches from GITHUB_TOKEN to PAT_TOKEN (a fine-grained Personal Access Token), which triggers workflows as expected.

Show pictures of your visual changes

N/A - No visual changes.

Instructions for Testing this PR

  1. Merge this PR
  2. Push a changeset to main
  3. Verify the release PR is created and pr-checks workflow is triggered

Checklist before requesting a review

  • My changes are about only one task or issue, if it does not exist I have created it.
  • I have committed only changes relevant to the task.
  • I have minimized the number of changes.
  • I have performed a self-review of my code.
  • I have checked that CI/CD checks pass before requesting a review.
  • If documentation updates are needed, I have made them accordingly.

@changeset-bot

changeset-bot Bot commented Mar 6, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9ab9b00

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
boil Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

datalek added 2 commits March 6, 2026 23:39
Before this commit, the release PR created by changesets/action used
GITHUB_TOKEN which doesn't trigger workflows on PRs it creates. After
this commit, it uses PAT_TOKEN which triggers the required pr-checks
workflow.
@datalek datalek force-pushed the fix/release-workflow-pat branch from c19d8d0 to 9ab9b00 Compare March 6, 2026 22:41
@datalek datalek merged commit 2895125 into main Mar 6, 2026
2 checks passed
@datalek datalek deleted the fix/release-workflow-pat branch March 6, 2026 22:42
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