From 4cdf470098fd98666dea2386a44c8d88780c3239 Mon Sep 17 00:00:00 2001 From: joseph Date: Wed, 18 Nov 2026 13:03:29 +0000 Subject: [PATCH 1/2] ci: run actions-qa-ci on pull requests, skip docs-only pushes Add an actions-qa-ci job to the PHP QA workflow, run on pull requests only, with contents: read on ubuntu-latest. A push that changes only Markdown or docs/ no longer runs the workflow: nothing in the build reads Markdown. Instruction Markdown stays in. The workflow gets a concurrency group per ref; only a superseded pull request run is cancelled, so a push run that commits fixer output is never cut short. Actions move to their current majors: actions/checkout v2 -> v7 (v2's runtime no longer runs on GitHub), ramsey/composer-install v1 -> v4. EndBug/add-and-commit stays on v7: v8 stopped switching to the pull request's head branch, which would break the fixer commit-back on pull request runs. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ef12610..75a14ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,17 +4,40 @@ on: push: branches: - '*' + # A push of documentation alone starts no run: no job reads Markdown. + # Instruction Markdown stays in. + paths: + - '**' + - '!**.md' + - '!docs/**' + - '**/CLAUDE.md' + - '**/AGENTS.md' pull_request: branches: - '*' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: + actions-qa-ci: + name: actions-qa-ci + if: github.event_name == 'pull_request' + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@v7 + - name: Check the workflows with actions-qa-ci + uses: LongTermSupport/actions-qa-ci@c692fb40e93f3ad63d59adf78a86d1a1d0111449 # v0.1.1 + qa: name: Build Dependencies runs-on: ubuntu-latest steps: - name: Checkout latest Ref - uses: actions/checkout@v2 + uses: actions/checkout@v7 with: fetch-depth: 1 @@ -26,7 +49,7 @@ jobs: coverage: xdebug - name: Install dependencies with Composer - uses: ramsey/composer-install@v1 + uses: ramsey/composer-install@v4 - name: Run CI process run: bash ./ci.bash From 614db0c4d7bd27ec9e4d37901f8229ebda7ff912 Mon Sep 17 00:00:00 2001 From: joseph Date: Thu, 19 Nov 2026 08:59:09 +0000 Subject: [PATCH 2/2] ci: pin actions-qa-ci to v0.2.0, the newest release Co-Authored-By: Claude Opus 5.5 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 75a14ba..ea00c9e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,7 @@ jobs: steps: - uses: actions/checkout@v7 - name: Check the workflows with actions-qa-ci - uses: LongTermSupport/actions-qa-ci@c692fb40e93f3ad63d59adf78a86d1a1d0111449 # v0.1.1 + uses: LongTermSupport/actions-qa-ci@ad81f5c1a62b26b8dbffd51a2180df7ba3c0120b # v0.2.0 qa: name: Build Dependencies