diff --git a/.github/workflows/coding-standard.yml b/.github/workflows/coding-standard.yml index d861ff8cf5d..b57cbc171a3 100644 --- a/.github/workflows/coding-standard.yml +++ b/.github/workflows/coding-standard.yml @@ -4,9 +4,23 @@ on: pull_request: branches: - "*.x" + paths: + - .github/workflows/coding-standards.yml + - bin/** + - composer.* + - lib/** + - phpcs.xml.dist + - tests/** push: branches: - "*.x" + paths: + - .github/workflows/coding-standards.yml + - bin/** + - composer.* + - lib/** + - phpcs.xml.dist + - tests/** jobs: coding-standards: diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index b44eb524962..1d312330d61 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -4,9 +4,23 @@ on: pull_request: branches: - "*.x" + paths: + - .github/workflows/continuous-integration.yml + - ci/** + - composer.* + - lib/** + - phpunit.xml.dist + - tests/** push: branches: - "*.x" + paths: + - .github/workflows/continuous-integration.yml + - ci/** + - composer.* + - lib/** + - phpunit.xml.dist + - tests/** env: fail-fast: true diff --git a/.github/workflows/phpbench.yml b/.github/workflows/phpbench.yml index 4924834a396..4183f8168b0 100644 --- a/.github/workflows/phpbench.yml +++ b/.github/workflows/phpbench.yml @@ -5,9 +5,21 @@ on: pull_request: branches: - "*.x" + paths: + - .github/workflows/phpbench.yml + - composer.* + - lib/** + - phpbench.json + - tests/** push: branches: - "*.x" + paths: + - .github/workflows/phpbench.yml + - composer.* + - lib/** + - phpbench.json + - tests/** env: fail-fast: true diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 830c9635858..7ec9d88bb0e 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -5,9 +5,23 @@ on: pull_request: branches: - "*.x" + paths: + - .github/workflows/static-analysis.yml + - composer.* + - lib/** + - phpstan* + - psalm* + - tests/** push: branches: - "*.x" + paths: + - .github/workflows/static-analysis.yml + - composer.* + - lib/** + - phpstan* + - psalm* + - tests/** jobs: static-analysis-phpstan: