From d18851f33b1d508799b8dd498d8c01c62ca0a435 Mon Sep 17 00:00:00 2001 From: jeremyfelt Date: Thu, 1 Oct 2026 17:03:36 -0700 Subject: [PATCH] Cut Actions minutes on workflow-only changes - Removes `issues.yml`. The project board and Claude workflows are unused. - Skips check workflows when a pull request or push changes only other workflow files. A workflow still runs when its own file changes. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/issues.yml | 12 ------------ .github/workflows/phpcs.yml | 8 +++++++- 2 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 .github/workflows/issues.yml 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