Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fetch PR head ref in issue_comment workflow
The issue_comment event payload doesn't include pull_request.head.ref, so we need to explicitly fetch the PR information using the GitHub CLI. This fixes the workflow by: - Adding a step to fetch PR head branch using gh pr view - Using the fetched ref for checkout, cache key, and git push - Removing references to github.event.pull_request.head.ref This ensures the workflow can properly checkout and push to PR branches when triggered by comments.
- Loading branch information