Skip to content

Conversation

@Ganga4060
Copy link
Contributor

Improve PR Number Detection in workflow
This pull request updates the workflow to detect the PR number .

What’s changed
Adds a fallback mechanism:

  • If the PR number is not found in the event payload, the workflow now searches all open PRs for one whose head commit SHA matches the check suite’s SHA.

Why

  • Previously, the workflow could not detect the PR number for PRs from forks or in some upstream scenarios, causing log export and PR commenting to be skipped.

anubhav756
anubhav756 previously approved these changes Nov 17, 2025
@Ganga4060 Ganga4060 requested a review from anubhav756 November 24, 2025 11:58
@Ganga4060 Ganga4060 merged commit eb73f1d into googleapis:main Nov 26, 2025
16 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.

3 participants