You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: get_pr_number() for pull_request_target event
Under pull_request_target, GITHUB_REF is refs/heads/<branch> (not
refs/pull/N/merge like pull_request). Add get_pr_number() helper
that:
1. Tries GITHUB_REF parsing first (works for pull_request)
2. Falls back to reading PR number from GITHUB_EVENT_PATH payload
(works for pull_request_target and other event types)
0 commit comments