Make WordPress Core


Ignore:
Timestamp:
10/18/2024 02:00:27 PM (5 months ago)
Author:
desrosj
Message:

Build/Test Tools: Refine paths filter for workflows.

Some GitHub Action workflows use the paths filter to limit when workflows run for pull requests. This helps avoid running workflows unnecessarily when the pull request does not change any relevant code.

Currently, a few of these workflows are configured to run when any .yml file in the .github/workflows/ directory is changed. This updates those workflows to target more specific workflow files for more efficient running.

See #61564.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/coding-standards.yml

    r58165 r59252  
    3030      # This file configures PHPCS. Changes could affect the outcome.
    3131      - 'phpcs.xml.dist'
    32       # Changes to workflow files should always verify all workflows are successful.
    33       - '.github/workflows/*.yml'
     32      # Confirm any changes to relevant workflow files.
     33      - '.github/workflows/coding-standards.yml'
     34      - '.github/workflows/reusable-coding-standards-*.yml'
    3435  workflow_dispatch:
    3536
Note: See TracChangeset for help on using the changeset viewer.