Make WordPress Core


Ignore:
Timestamp:
01/28/2025 11:47:49 PM (19 months ago)
Author:
johnbillion
Message:

Build/Test Tools: Add some more paths restrictions to GitHub Actions workflow files to minimise unnecessary workflow runs.

Props mukesh27, johnbillion

See #62280

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/phpunit-tests.yml

    r59720 r59725  
    1515      - '3.[7-9]'
    1616      - '[4-9].[0-9]'
     17    paths:
     18      # Any change to a PHP, CSS, JavaScript, JSON, HTML, or otherwise tested file should run checks.
     19      - '**.css'
     20      - '**.html'
     21      - '**.js'
     22      - '**.json'
     23      - '**.php'
     24      - 'src/license.txt'
     25      - 'src/SECURITY.md'
     26      # These files configure npm and the task runner. Changes could affect the outcome.
     27      - 'package*.json'
     28      - 'Gruntfile.js'
     29      # These files configure Composer. Changes could affect the outcome.
     30      - 'composer.*'
     31      # This files affect the phpunit tests. Changes could affect the outcome.
     32      - 'tests/phpunit/**'
     33      # Confirm any changes to relevant workflow files.
     34      - '.github/workflows/phpunit-tests.yml'
     35      - '.github/workflows/reusable-phpunit-tests-*.yml'
    1736  workflow_dispatch:
    1837  # Once weekly On Sundays at 00:00 UTC.
Note: See TracChangeset for help on using the changeset viewer.