ci: update recommend workflow to not run on forks#7862
Conversation
|
There was a problem hiding this comment.
Pull request overview
This PR updates the “Recommend integration tests” GitHub Actions workflow to avoid running (and attempting to label/comment) on pull requests opened from forked repositories, aligning the workflow behavior with GitHub token permission restrictions on forks.
Changes:
- Gate the
recommendjob to only run when the PR’s head repository matches the base repository (github.repository).
Show a summary per file
| File | Description |
|---|---|
.github/workflows/recommend-integration-tests.yml |
Adds a job-level conditional to skip the workflow on fork-based PRs. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 0
Follow up to: #7862
Update the recommend integration tests workflow to not run on Pull Requests from forks. If we would like this message to appear on forks, then we could use a
workflow_runevent in the futureChangelog
New
Changed
Removed
Rollout strategy
This is a change to our CI