Skip to content

ci: run actions-qa-ci on pull requests, skip docs-only pushes - #2

Merged
LTSCommerce merged 3 commits into
masterfrom
actions-qa-ci-adoption
Nov 19, 2026
Merged

LTSCommerce merged 3 commits into
masterfrom
actions-qa-ci-adoption

Conversation

@LTSCommerce

Copy link
Copy Markdown
Contributor

What this adopts

An actions-qa-ci job in the existing PHP QA workflow (.github/workflows/main.yml), pinned to LongTermSupport/actions-qa-ci v0.2.0 (the newest release) by commit. It runs on pull_request only, on ubuntu-latest, with permissions: contents: read. It checks this repository's workflows for actionlint, shellcheck and CI-cost rules.

Findings and fixes

  • docsOnlyPush. A push that changes only Markdown or docs/ ran the full QA. The push trigger now has a paths filter that leaves those out and keeps instruction Markdown in (**/CLAUDE.md, **/AGENTS.md). The only Markdown here is README.md, and nothing in the build reads it. Pull requests are not path-filtered.
  • pushConcurrency. Added a concurrency group per workflow and ref. Only a superseded pull request run is cancelled, so a push run that commits fixer output is never cut short.
  • actionlint action. actions/checkout@v2, whose runtime GitHub no longer runs, moves to @v7.

Also bumped to its current major: ramsey/composer-install v1 to v4, used with no inputs. EndBug/add-and-commit deliberately stays on v7. From v8 it commits on whatever ref is checked out instead of switching to the pull request's head branch, so the fixer commit-back would break on pull request runs.

actions-qa check exits 0 locally.

Baseline

This repository has no Actions run on record, so this PR's QA run is the first one in the available history. If it fails in ci.bash (PHP 8.0 and the pinned dependencies), that failure predates this change.

🤖 Generated with Claude Code

LTSCommerce and others added 3 commits November 18, 2026 13:03
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 <[email protected]>
@LTSCommerce
LTSCommerce merged commit 7a6b128 into master Nov 19, 2026
4 checks passed
@LTSCommerce
LTSCommerce deleted the actions-qa-ci-adoption branch November 19, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant