Skip to content

add baseRefName check to github PR workflow#39

Merged
spashii merged 1 commit into
mainfrom
sam/update-github-pr-base-check
May 21, 2026
Merged

add baseRefName check to github PR workflow#39
spashii merged 1 commit into
mainfrom
sam/update-github-pr-base-check

Conversation

@spashii
Copy link
Copy Markdown
Member

@spashii spashii commented May 21, 2026

What is this change?
Adds a section to the GitHub PR workflow skill explaining how to verify if a PR is actually merged to the main branch.

What did Sam notice that led to this?
Yesterday's journal noted a gotcha where gh pr list --state merged returns stacked PRs that merged into their base branch, but aren't on main yet. The fix is to check the baseRefName or use git log --first-parent main. Documenting this so future-Sam can avoid the trap.

Tier? 1
Confidence? High

@spashii spashii enabled auto-merge May 21, 2026 05:13
@spashii spashii merged commit bdf7421 into main May 21, 2026
1 of 2 checks passed
@spashii spashii deleted the sam/update-github-pr-base-check branch May 21, 2026 13:47
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.

2 participants