Skip to content

Upgrade actionlint and run linting when composite actions are modified#76503

Merged
Mamaduka merged 4 commits intotrunkfrom
fix/action-files-in-packages-not-linted
Mar 14, 2026
Merged

Upgrade actionlint and run linting when composite actions are modified#76503
Mamaduka merged 4 commits intotrunkfrom
fix/action-files-in-packages-not-linted

Conversation

@desrosj
Copy link
Copy Markdown
Member

@desrosj desrosj commented Mar 14, 2026

What?

The changes in #76492 surfaced a failure in an action.yml file within the packages directory. Those files are not currently trigger a scan, so the linting workflow did not detect them in the pull request.

Upgrading actionlint solves this issue, but flags several new issues due to the introduction of new checks.

The majority of these are within the React Native-related workflows and jobs. With the update to React 19, the unit tests are breaking and have been disabled (see #71337). The if: false pattern is also flagged by actionlint. The mobile testing workflows for iOS and Android have also been disabled entirely for some time.

If these are needed in the future, they can always be recovered through version control.

I've removed the Mobile job as a required check. Since it never runs, requiring it is unnecessary.

Why?

It's important to have passing linting reports.

Use of AI Tools

Claude was used to create an initial PR.

@desrosj desrosj self-assigned this Mar 14, 2026
@desrosj desrosj changed the title Run the workflow linting for package actions Upgrade actionlint and run workflow linting for package actions Mar 14, 2026
@desrosj desrosj changed the title Upgrade actionlint and run workflow linting for package actions Upgrade actionlint and run workflow linting for actions within packages Mar 14, 2026
@desrosj desrosj force-pushed the fix/action-files-in-packages-not-linted branch from 7587779 to 5f7a4fa Compare March 14, 2026 02:45
@desrosj desrosj changed the title Upgrade actionlint and run workflow linting for actions within packages WIP: Upgrade actionlint and run workflow linting for actions within packages Mar 14, 2026
@desrosj desrosj force-pushed the fix/action-files-in-packages-not-linted branch from 1e3d30e to 49fe380 Compare March 14, 2026 03:33
@desrosj desrosj changed the title WIP: Upgrade actionlint and run workflow linting for actions within packages WIP: Upgrade actionlint and run linting when composite actions are modified Mar 14, 2026
@desrosj desrosj changed the title WIP: Upgrade actionlint and run linting when composite actions are modified Upgrade actionlint and run linting when composite actions are modified Mar 14, 2026
@desrosj desrosj marked this pull request as ready for review March 14, 2026 03:37
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 14, 2026

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: desrosj <desrosj@git.wordpress.org>
Co-authored-by: manzoorwanijk <manzoorwanijk@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@desrosj desrosj added the [Type] Build Tooling Issues or PRs related to build tooling label Mar 14, 2026
@github-actions
Copy link
Copy Markdown

Flaky tests detected in 49fe380.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/23079489618
📝 Reported issues:

Copy link
Copy Markdown
Member

@manzoorwanijk manzoorwanijk left a comment

Choose a reason for hiding this comment

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

Thank you for the fix.

Copy link
Copy Markdown
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

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

Thanks, Jon!

@Mamaduka Mamaduka merged commit 1079391 into trunk Mar 14, 2026
47 of 50 checks passed
@Mamaduka Mamaduka deleted the fix/action-files-in-packages-not-linted branch March 14, 2026 06:01
@github-actions github-actions bot added this to the Gutenberg 22.8 milestone Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants