Skip to content

ci: fix the bump → publish chain (auto-label PAT + drop homebrew/core tap)#9

Merged
csparker247 merged 1 commit into
mainfrom
fix-auto-label-token
Jun 11, 2026
Merged

ci: fix the bump → publish chain (auto-label PAT + drop homebrew/core tap)#9
csparker247 merged 1 commit into
mainfrom
fix-auto-label-token

Conversation

@csparker247

@csparker247 csparker247 commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

  • auto-label.yml: use BUMP_PR_PAT so the applied label actually fires publish.yml.
  • publish.yml: drop the obsolete brew tap Homebrew/core call.

Why

auto-label.yml — GitHub's recursion guard means labels applied with GITHUB_TOKEN do not fire downstream workflows. publish.yml listens on pull_request_target.labeled, so without a PAT the chain stalls at the label step. Observed on #8.

publish.yml — modern Homebrew treats homebrew/core as an API-only tap and rejects brew tap homebrew/core without --force. brew pr-pull doesn't need it tapped. Observed on the first publish attempt for #8.

Test plan

  • After merge, manually remove and re-add the pr-pull label on openabf: revision 1 #8publish.yml should fire and complete.
  • Next bumper PR (cron or repository_dispatch) should complete the full chain end-to-end with no human intervention.

🤖 Generated with Claude Code

GitHub's recursion guard: a label applied with the default GITHUB_TOKEN
does not fire downstream workflows. publish.yml listens on
pull_request_target.labeled, so without a PAT the chain stalls after
auto-label.

Reuses the existing BUMP_PR_PAT secret.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@csparker247 csparker247 merged commit 89fcb6b into main Jun 11, 2026
3 checks passed
@csparker247 csparker247 deleted the fix-auto-label-token branch June 11, 2026 18:07
@csparker247 csparker247 changed the title auto-label: use PAT so labeled event triggers publish.yml ci: fix the bump → publish chain (auto-label PAT + drop homebrew/core tap) Jun 11, 2026
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