Make WordPress Core


Ignore:
Timestamp:
10/18/2024 02:00:27 PM (13 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/javascript-tests.yml

    r58165 r59252  
    2828      # Any change to the QUnit directory should run tests.
    2929      - 'tests/qunit/**'
    30       # Changes to workflow files should always verify all workflows are successful.
    31       - '.github/workflows/*.yml'
     30      # Confirm any changes to relevant workflow files.
     31      - '.github/workflows/javascript-tests.yml'
     32      - '.github/workflows/reusable-javascript-tests.yml'
    3233  workflow_dispatch:
    3334
Note: See TracChangeset for help on using the changeset viewer.