diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml deleted file mode 100644 index 6347d1d..0000000 --- a/.github/workflows/issues.yml +++ /dev/null @@ -1,12 +0,0 @@ -# This file is managed in https://github.com/happyprime/projects -name: Add new issues to Happy Prime project - -on: - issues: - types: - - opened - -jobs: - add-to-project: - uses: happyprime/workflows/.github/workflows/issues.yml@trunk - secrets: inherit diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index 9ffa406..f990f89 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -3,7 +3,13 @@ # This file is managed in https://github.com/happyprime/projects name: PHPCS (Default, PHP 8.3) -on: pull_request +on: + pull_request: + # A change to another workflow file is no reason to run this one. + paths: + - '**' + - '!.github/workflows/**' + - .github/workflows/phpcs.yml # The GITHUB_TOKEN used by Dependabot has read-only permissions by default. We # provide write permissions to this workflow so that comments can be left on diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 191b169..8f2cfc9 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -3,7 +3,13 @@ # This file is managed in https://github.com/happyprime/projects name: PHPStan (Default, PHP 8.3) -on: pull_request +on: + pull_request: + # A change to another workflow file is no reason to run this one. + paths: + - '**' + - '!.github/workflows/**' + - .github/workflows/phpstan.yml # The GITHUB_TOKEN used by Dependabot has read-only permissions by default. We # provide write permissions to this workflow so that comments can be left on diff --git a/.github/workflows/plugin-check.yml b/.github/workflows/plugin-check.yml index c7fe607..a6a23cd 100644 --- a/.github/workflows/plugin-check.yml +++ b/.github/workflows/plugin-check.yml @@ -7,9 +7,19 @@ on: push: branches: - trunk + # A change to another workflow file is no reason to run this one. + paths: + - '**' + - '!.github/workflows/**' + - .github/workflows/plugin-check.yml pull_request: branches: - trunk + # A change to another workflow file is no reason to run this one. + paths: + - '**' + - '!.github/workflows/**' + - .github/workflows/plugin-check.yml jobs: call-workflow: diff --git a/.github/workflows/verify-build.yml b/.github/workflows/verify-build.yml index e50dd7f..32843b1 100644 --- a/.github/workflows/verify-build.yml +++ b/.github/workflows/verify-build.yml @@ -1,7 +1,13 @@ # This file is managed in https://github.com/happyprime/projects name: Verify build (Node 24) -on: pull_request +on: + pull_request: + # A change to another workflow file is no reason to run this one. + paths: + - '**' + - '!.github/workflows/**' + - .github/workflows/verify-build.yml # The GITHUB_TOKEN used by Dependabot has read-only permissions by default. We # provide write permissions to this workflow so that comments can be left on