Skip to content

ci: update recommend workflow to not run on forks#7862

Merged
joshblack merged 1 commit into
mainfrom
ci/run-recommend-not-on-forks
May 22, 2026
Merged

ci: update recommend workflow to not run on forks#7862
joshblack merged 1 commit into
mainfrom
ci/run-recommend-not-on-forks

Conversation

@joshblack
Copy link
Copy Markdown
Member

@joshblack joshblack commented May 20, 2026

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_run event in the future

Changelog

New

Changed

  • Gate the recommend job on whether the pull request is from the original repository

Removed

Rollout strategy

  • None; if selected, include a brief description as to why

This is a change to our CI

Copilot AI review requested due to automatic review settings May 20, 2026 19:30
@joshblack joshblack requested a review from a team as a code owner May 20, 2026 19:30
@joshblack joshblack requested a review from liuliu-dev May 20, 2026 19:30
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 20, 2026

⚠️ No Changeset found

Latest commit: deb3ad0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added the staff Author is a staff member label May 20, 2026
@joshblack joshblack added skip changeset This change does not need a changelog integration-tests: skipped manually Changes in this PR do not require an integration test labels May 20, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 recommend job 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

@joshblack joshblack added this pull request to the merge queue May 22, 2026
Merged via the queue into main with commit ca377d8 May 22, 2026
72 of 73 checks passed
@joshblack joshblack deleted the ci/run-recommend-not-on-forks branch May 22, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: skipped manually Changes in this PR do not require an integration test skip changeset This change does not need a changelog staff Author is a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants