Skip to content

Comments

fix: use PAT for publish to trigger workflows on created PRs#9

Merged
terraboops merged 1 commit intomainfrom
terra/pat-for-publish
Feb 13, 2026
Merged

fix: use PAT for publish to trigger workflows on created PRs#9
terraboops merged 1 commit intomainfrom
terra/pat-for-publish

Conversation

@terraboops
Copy link
Collaborator

Summary

  • Add separate pat secret for the publish job — PRs created with GITHUB_TOKEN don't trigger workflows (GitHub's infinite loop prevention), so required checks never run
  • token remains for read-only operations (discover, validate, generate)
  • pat is used for PR creation and auto-merge in the publish job
  • Bumps version to 1.0.4

Callers update to:

secrets:
  token: ${{ secrets.GITHUB_TOKEN }}
  pat: ${{ secrets.PAT }}

Test plan

  • CI passes
  • On push to main: publish job creates PR using PAT, workflows trigger on the created PR

🤖 Generated with Claude Code

PRs created with GITHUB_TOKEN don't trigger workflows (GitHub's infinite
loop prevention), so required checks never run and the PR can't merge.
Add a separate `pat` secret for the publish job's PR creation and
auto-merge steps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@terraboops terraboops merged commit 404cb6b into main Feb 13, 2026
4 checks passed
@terraboops terraboops deleted the terra/pat-for-publish branch February 13, 2026 06:23
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