Skip to content

Collapse lint action into test-all workflow#55427

Closed
huntie wants to merge 3 commits intofacebook:mainfrom
huntie:export-D92417807
Closed

Collapse lint action into test-all workflow#55427
huntie wants to merge 3 commits intofacebook:mainfrom
huntie:export-D92417807

Conversation

@huntie
Copy link
Copy Markdown
Member

@huntie huntie commented Feb 5, 2026

Summary:
Following previous diffs, this now promotes the lint action to direct job steps.

Motivation

This has the advantage of making sub-steps in the GitHub UI visible, rather than running the 7 lint steps under a single banner.

I feel this is justified in the case of lint, although increasing the size of .github/workflowsl/test-all.yml slightly, because:

  • Each step in this job is a distinct tool run with differing output, rather than one logical "action" — and this grouped output is therefore useful to the user.
  • Lint failures are reasonably frequent for users, emphasising the above.

Changelog: [Internal]

Differential Revision: D92417807

Summary:
See blame — this script lints for a `"PATENTS"` string inside any Git changes, which should not occur any more.

> D7119356 (8 years ago)
>
> [react-native][PR] Check PATENTS does not creep into files
>
> Summary:
> Some files have crept into the repo with the old license header. These are usually from PRs that were opened prior to the re-licensing of the project.

Changelog: [Internal]

Differential Revision: D92417808
Summary: Changelog: [Internal]

Differential Revision: D92417806
Summary:
Following previous diffs, this now promotes the `lint` action to direct job steps.

**Motivation**

This has the advantage of making sub-steps in the GitHub UI visible, rather than running the 7 lint steps under a single banner.

I feel this is justified in the case of `lint`, although increasing the size of `.github/workflowsl/test-all.yml` slightly, because:
- Each step in this job is a distinct tool run with differing output, rather than one logical "action" — and this grouped output is therefore useful to the user.
- Lint failures are reasonably frequent for users, emphasising the above.

Changelog: [Internal]

Differential Revision: D92417807
@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 D92417807.

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 7e75234 Feb 5, 2026
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 5, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Feb 5, 2026

This pull request has been merged in 7e75234.

@huntie huntie deleted the export-D92417807 branch February 5, 2026 20:57
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.

3 participants