Skip to content

Run Meta import risk triage only for PRs targeting main - #60468

Merged
rubennorte merged 1 commit into
react:mainfrom
cortinico:codex/meta-import-main-only
Dec 2, 2026
Merged

rubennorte merged 1 commit into
react:mainfrom
cortinico:codex/meta-import-main-only

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Summary:

Limit the Meta import risk pull_request_target workflow to PRs targeting main. GitHub filters pull_request_target by the PR base branch, so stable-branch backports such as #60467 will not start this workflow, while PRs targeting main continue to be classified.

Changelog:

[INTERNAL] [FIXED] - Run Meta import risk triage only for pull requests targeting main.

Test Plan:

  • ruby -e "require 'yaml'; workflow = YAML.load_file('.github/workflows/meta-import-risk.yml'); triggers = workflow.fetch(workflow.key?('on') ? 'on' : true); abort 'missing main branch filter' unless triggers.fetch('pull_request_target').fetch('branches') == ['main']; puts 'YAML and main filter valid'" — passed.
  • actionlint v1.7.12 .github/workflows/meta-import-risk.yml — passed.
  • git diff --check — passed.
  • Live GitHub Actions trigger filtering can only be verified after merging.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 2, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Dec 2, 2026
@github-actions github-actions Bot added the Meta Review Required This PR is considered risky and requires Meta to import it to do more testing before merging. label Dec 2, 2026
@rubennorte
rubennorte merged commit 7c1e281 into react:main Dec 2, 2026
52 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Meta Review Required This PR is considered risky and requires Meta to import it to do more testing before merging. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants