Skip to content

fix: drop PAT and auto-merge from Update README workflow - #3

Closed
bcastets-robotiq wants to merge 1 commit into
mainfrom
drop-pat-auto-merge
Closed

bcastets-robotiq wants to merge 1 commit into
mainfrom
drop-pat-auto-merge

Conversation

@bcastets-robotiq

Copy link
Copy Markdown
Collaborator

Summary

Simplifies .github/workflows/update-readme.yml: removes the README_BOT_PAT dependency and the approve/auto-merge step. The workflow still runs daily, still generates the content and opens a PR automatically — a human just merges it once the test check passes, instead of it auto-merging.

Why

No credential lets this workflow both author and approve its own PR without either a second bot identity (a PAT) or a ruleset bypass that would exempt every GITHUB_TOKEN-authored PR in this repo from review, not just this one. Neither tradeoff is worth it to skip one daily click. GITHUB_TOKEN alone is enough to generate content and open the PR.

Test plan

  • YAML syntax validated
  • Trigger via workflow_dispatch and confirm it opens a PR without needing any secret

🤖 Generated with Claude Code

No credential can make this workflow both author and approve its own
PR without either a second bot identity (PAT) or a ruleset bypass
that would exempt every GITHUB_TOKEN-authored PR in this repo from
review, not just this one. Neither is worth it just to skip one daily
click: GITHUB_TOKEN alone is enough to generate the content and open
the PR: a human merges once the required test check passes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@bcastets-robotiq

Copy link
Copy Markdown
Collaborator Author

Closing — going with the ruleset bypass-actor approach instead of dropping auto-merge.

@bcastets-robotiq
bcastets-robotiq deleted the drop-pat-auto-merge branch September 21, 2026 21:18
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.

3 participants