mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@50479 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
9
.github/workflows/php-compatibility.yml
vendored
9
.github/workflows/php-compatibility.yml
vendored
@@ -17,6 +17,15 @@ on:
|
||||
- trunk
|
||||
- '5.[5-9]'
|
||||
- '[6-9].[0-9]'
|
||||
paths:
|
||||
# This workflow only scans PHP files.
|
||||
- '**.php'
|
||||
# These files configure Composer. Changes could affect the outcome.
|
||||
- 'composer.*'
|
||||
# This file configures PHP Compatibility scanning. Changes could affect the outcome.
|
||||
- 'phpcompat.xml.dist'
|
||||
# Changes to workflow files should always verify all workflows are successful.
|
||||
- '.github/workflows/*.yml'
|
||||
|
||||
jobs:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user