Make WordPress Core


Ignore:
Timestamp:
03/02/2021 07:57:15 PM (11 months ago)
Author:
desrosj
Message:

Build/Test Tools: Add path detection when running GitHub Actions on pull_request.

This change adds a list of paths to check when determining which workflows to run on pull_request. This will prevent certain workflows from running unnecessarily when the files updated are not related to the tests and checks being performed.

Props peterwilsoncc, johnbillion.
Fixes #52667.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/php-compatibility.yml

    r50473 r50479  
    1818      - '5.[5-9]'
    1919      - '[6-9].[0-9]'
     20    paths:
     21      # This workflow only scans PHP files.
     22      - '**.php'
     23      # These files configure Composer. Changes could affect the outcome.
     24      - 'composer.*'
     25      # This file configures PHP Compatibility scanning. Changes could affect the outcome.
     26      - 'phpcompat.xml.dist'
     27      # Changes to workflow files should always verify all workflows are successful.
     28      - '.github/workflows/*.yml'
    2029
    2130jobs:
Note: See TracChangeset for help on using the changeset viewer.