Skip to content

fix: remove PR head ref checkout for issue_comment events#13

Merged
DeDuckProject merged 1 commit intomainfrom
claude/optimize-pipeline-triggers-L1uZG
Mar 12, 2026
Merged

fix: remove PR head ref checkout for issue_comment events#13
DeDuckProject merged 1 commit intomainfrom
claude/optimize-pipeline-triggers-L1uZG

Conversation

@DeDuckProject
Copy link
Copy Markdown
Owner

Checking out the PR head meant ./packages/action had old code from the PR branch (before trigger support). Letting issue_comment check out main (default) ensures the action code includes trigger handling. The diff still works via fetch-depth: 0 and API-fetched SHAs.

https://claude.ai/code/session_01F7qRXukhynYjUukzhaBzSK

Checking out the PR head meant ./packages/action had old code from
the PR branch (before trigger support). Letting issue_comment check
out main (default) ensures the action code includes trigger handling.
The diff still works via fetch-depth: 0 and API-fetched SHAs.

https://claude.ai/code/session_01F7qRXukhynYjUukzhaBzSK
@github-actions
Copy link
Copy Markdown

GitGlimpse — Skipped

On-demand mode is enabled. Comment /glimpse on this PR to generate a demo.


Generated by git-glimpse

@DeDuckProject DeDuckProject merged commit ee1b456 into main Mar 12, 2026
3 checks passed
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