Skip to content

Repair wp/7.0 branch Actions: Reference trunk's reusable workflow-lint job - #82799

Open
desrosj wants to merge 3 commits into
fix-actions-7.0/simplify-pr-label-enforcementfrom
fix-actions-7.0/reference-trunk-workflow-lint
Open

desrosj wants to merge 3 commits into
fix-actions-7.0/simplify-pr-label-enforcementfrom
fix-actions-7.0/reference-trunk-workflow-lint

Conversation

@desrosj

@desrosj desrosj commented Sep 11, 2026

Copy link
Copy Markdown
Member

Part of #82782.

What?

Why?

Linting workflow files helps prevent incorrect and/or insecure patterns from being introduced into the codebase.

Use of AI Tools

This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.

@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 498d2d8c-478c-4989-ba69-174f00fc2b94

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The pull-request filter does not match the referenced #82744 behavior and can skip linting for other base branches.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Centralizes workflow linting on trunk and enables it for release branches.

Changes:

  • Expands push and pull-request branch filters.
  • Uses trunk’s reusable lint workflow.
  • Removes the local reusable workflow.
File summaries
File Description
.github/workflows/workflow-lint.yml Updates triggers and reusable workflow reference.
.github/workflows/reusable-workflow-lint.yml Removes the duplicated local workflow.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/workflow-lint.yml Outdated
Comment thread .github/workflows/workflow-lint.yml Dismissed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The newly referenced actionlint job currently fails on three existing files in this branch.

Get a fresh assessment by requesting another Copilot review.

Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread .github/workflows/workflow-lint.yml
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@desrosj
desrosj force-pushed the fix-actions-7.0/reference-trunk-workflow-lint branch from 850c82b to e733dfe Compare September 14, 2026 01:49
@desrosj
desrosj marked this pull request as ready for review September 14, 2026 16:42
@github-actions

Copy link
Copy Markdown

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>

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

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