diff --git a/.github/workflows/coding-standard.yml b/.github/workflows/coding-standard.yml deleted file mode 100644 index 04b2556460e..00000000000 --- a/.github/workflows/coding-standard.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: "Coding Standards" - -on: - pull_request: - branches: - - "*.x" - push: - branches: - - "*.x" - -jobs: - coding-standards: - uses: "doctrine/.github/.github/workflows/coding-standards.yml@2.1.0" diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml new file mode 100644 index 00000000000..7c276c769f5 --- /dev/null +++ b/.github/workflows/coding-standards.yml @@ -0,0 +1,27 @@ +name: "Coding Standards" + +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: + uses: "doctrine/.github/.github/workflows/coding-standards.yml@2.1.0" diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 9a02ab1918a..cd27b85d2e6 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 b632fcdd43d..79c44e50188 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 e8fd8c8c967..4ebf5a5a677 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -4,9 +4,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: