Skip to content

Apply path filtering checks to test-all workflow#55429

Closed
huntie wants to merge 1 commit intofacebook:mainfrom
huntie:export-D92417918
Closed

Apply path filtering checks to test-all workflow#55429
huntie wants to merge 1 commit intofacebook:mainfrom
huntie:export-D92417918

Conversation

@huntie
Copy link
Copy Markdown
Member

@huntie huntie commented Feb 5, 2026

Summary:
Completes this stack of diffs focused around the organisation and efficiency of the test-all GitHub Actions workflow.

Changed

All root jobs (excluding lint), when running against a PR, now depend on the initial check_code_changes job. This matches any non-Markdown, non docs change — meaning trivial PRs such as changelog updates should now avoid unnecessarily running the expensive parts of this workflow.

IMPORTANT: This is a significant change at the root of the workflow that contributes to our prebuilts/release infra — please review carefully.

The new any_code_change filter

Extremely defensive:

  • Matches '!**/__docs__/**', '!**/*.md' only.
  • Also always sets any_code_change to true if on main, a release branch, or on a workflow dispatch (github.event_name != 'pull_request').

Changelog: [Internal]

Differential Revision: D92417918

@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 Feb 5, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Feb 5, 2026

@huntie has exported this pull request. If you are a Meta employee, you can view the originating Diff in D92417918.

Summary:

Completes this stack of diffs focused around the organisation and efficiency of the `test-all` GitHub Actions workflow.

**Changed**

All root jobs (excluding `lint`), when running against a PR, now depend on the initial `check_code_changes` job. This matches any non-Markdown, non docs change — meaning trivial PRs such as changelog updates should now avoid unnecessarily running the expensive parts of this workflow.

IMPORTANT: This is a significant change at the root of the workflow that contributes to our prebuilts/release infra — please review carefully.

**The new `any_code_change` filter**

Extremely defensive:
- Matches `'!**/__docs__/**', '!**/*.md'` only.
- Also **always** sets `any_code_change` to true if on `main`, a release branch, or on a workflow dispatch (`github.event_name != 'pull_request'`).

Changelog: [Internal]

Differential Revision: D92417918
Copy link
Copy Markdown
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

@meta-codesync meta-codesync bot closed this in b2b446e Feb 6, 2026
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @huntie in b2b446e

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 6, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Feb 6, 2026

This pull request has been merged in b2b446e.

@huntie huntie deleted the export-D92417918 branch February 6, 2026 13:13
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. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants