From 33fa1c92ae3ed78beb42c34de137428733221da4 Mon Sep 17 00:00:00 2001 From: joseph Date: Wed, 18 Nov 2026 12:22:18 +0000 Subject: [PATCH 1/2] Run actions-qa-ci on pull requests and skip docs-only pushes Add an actions-qa-ci workflow, triggered on pull_request only: every existing workflow is push-only, and adding pull_request to one of them would run that language lane twice for each pull request push. Every language workflow now ignores pushes that change only Markdown or docs/ (no lane reads Markdown), and shares one concurrency group per workflow and ref, cancelling a superseded run. The two YAML-lane fixture workflows are declared unanalysed in .github/actions-qa-ci.yml: they are data for the lane's actionlint step and GitHub never runs them. Co-Authored-By: Claude Opus 5.5 --- .github/actions-qa-ci.yml | 11 +++++++++++ .github/workflows/actions-qa-ci.yml | 15 +++++++++++++++ .github/workflows/bash.yml | 8 +++++++- .github/workflows/c.yml | 8 +++++++- .github/workflows/cpp.yml | 8 +++++++- .github/workflows/csharp.yml | 9 ++++++++- .github/workflows/css.yml | 9 ++++++++- .github/workflows/fsharp.yml | 9 ++++++++- .github/workflows/go.yml | 8 +++++++- .github/workflows/html.yml | 9 ++++++++- .github/workflows/java.yml | 9 ++++++++- .github/workflows/javascript.yml | 9 ++++++++- .github/workflows/kotlin.yml | 9 ++++++++- .github/workflows/php.yml | 9 ++++++++- .github/workflows/powershell.yml | 9 ++++++++- .github/workflows/python.yml | 9 ++++++++- .github/workflows/ruby.yml | 9 ++++++++- .github/workflows/rust.yml | 8 +++++++- .github/workflows/sql.yml | 8 +++++++- .github/workflows/swift.yml | 9 ++++++++- .github/workflows/typescript.yml | 9 ++++++++- .github/workflows/yaml.yml | 8 +++++++- 22 files changed, 179 insertions(+), 20 deletions(-) create mode 100644 .github/actions-qa-ci.yml create mode 100644 .github/workflows/actions-qa-ci.yml diff --git a/.github/actions-qa-ci.yml b/.github/actions-qa-ci.yml new file mode 100644 index 0000000..482b7cd --- /dev/null +++ b/.github/actions-qa-ci.yml @@ -0,0 +1,11 @@ +version: 1 +analyse: + unanalysed: + - path: yaml/fail/analyse-workflow/workflows/** + justification: + hazard: "A fixture workflow that deliberately carries an actionlint expression error, so the YAML lane can prove it fails" + scope: "Only the YAML lane's failing workflow fixture, which GitHub never runs because it lies outside .github/workflows" + - path: yaml/pass/workflows/** + justification: + hazard: "A fixture workflow kept as data for the YAML lane's actionlint step, never as a workflow of this repository" + scope: "Only the YAML lane's passing workflow fixture, which GitHub never runs because it lies outside .github/workflows" diff --git a/.github/workflows/actions-qa-ci.yml b/.github/workflows/actions-qa-ci.yml new file mode 100644 index 0000000..6fb4814 --- /dev/null +++ b/.github/workflows/actions-qa-ci.yml @@ -0,0 +1,15 @@ +name: actions-qa-ci +on: + pull_request: +permissions: + contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true +jobs: + actions-qa-ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 + - name: Check the workflows with actions-qa-ci + uses: LongTermSupport/actions-qa-ci@c692fb40e93f3ad63d59adf78a86d1a1d0111449 # v0.1.1 diff --git a/.github/workflows/bash.yml b/.github/workflows/bash.yml index 1519deb..ebb1218 100644 --- a/.github/workflows/bash.yml +++ b/.github/workflows/bash.yml @@ -1,5 +1,11 @@ name: bash -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read jobs: diff --git a/.github/workflows/c.yml b/.github/workflows/c.yml index 8d4a4fe..f16cc76 100644 --- a/.github/workflows/c.yml +++ b/.github/workflows/c.yml @@ -1,5 +1,11 @@ name: c -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read jobs: diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index 1e92d68..c1a808b 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -1,5 +1,11 @@ name: cpp -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read jobs: diff --git a/.github/workflows/csharp.yml b/.github/workflows/csharp.yml index 52b354f..8831eae 100644 --- a/.github/workflows/csharp.yml +++ b/.github/workflows/csharp.yml @@ -1,6 +1,13 @@ name: csharp -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index a38260d..c209031 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -1,6 +1,13 @@ name: css -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/fsharp.yml b/.github/workflows/fsharp.yml index 24ebc8d..efbe4ae 100644 --- a/.github/workflows/fsharp.yml +++ b/.github/workflows/fsharp.yml @@ -1,6 +1,13 @@ name: fsharp -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index dc57262..a243a59 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,5 +1,11 @@ name: go -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read jobs: diff --git a/.github/workflows/html.yml b/.github/workflows/html.yml index 9cca0f9..e344d2f 100644 --- a/.github/workflows/html.yml +++ b/.github/workflows/html.yml @@ -1,6 +1,13 @@ name: html -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 5f55b47..4c5bb17 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -1,6 +1,13 @@ name: java -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/javascript.yml b/.github/workflows/javascript.yml index ff6ad74..ff7c0c3 100644 --- a/.github/workflows/javascript.yml +++ b/.github/workflows/javascript.yml @@ -1,6 +1,13 @@ name: javascript -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/kotlin.yml b/.github/workflows/kotlin.yml index 2f9e7c2..6e134c9 100644 --- a/.github/workflows/kotlin.yml +++ b/.github/workflows/kotlin.yml @@ -1,6 +1,13 @@ name: kotlin -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index f3db7ba..6251e6d 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -1,6 +1,13 @@ name: php -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/powershell.yml b/.github/workflows/powershell.yml index 03d34f6..19945d3 100644 --- a/.github/workflows/powershell.yml +++ b/.github/workflows/powershell.yml @@ -1,6 +1,13 @@ name: powershell -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 464b6f4..6ef8bab 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -1,6 +1,13 @@ name: python -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 7c76caf..6a47c22 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -1,6 +1,13 @@ name: ruby -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 92f42bd..c87bb41 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,5 +1,11 @@ name: rust -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read jobs: diff --git a/.github/workflows/sql.yml b/.github/workflows/sql.yml index 91a0192..ea094a1 100644 --- a/.github/workflows/sql.yml +++ b/.github/workflows/sql.yml @@ -1,5 +1,11 @@ name: sql -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read jobs: diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 9b40983..d360e2f 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -1,6 +1,13 @@ name: swift -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index b3ad66b..1f7a697 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -1,6 +1,13 @@ name: typescript -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/yaml.yml b/.github/workflows/yaml.yml index bf7bcd4..f5bc129 100644 --- a/.github/workflows/yaml.yml +++ b/.github/workflows/yaml.yml @@ -1,5 +1,11 @@ name: yaml -on: [push, workflow_dispatch] +on: + push: + paths-ignore: ["**.md", "docs/**"] + workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read jobs: From c0ff5df37f9eb6b56d5a37d4fcbc0a1e85f72793 Mon Sep 17 00:00:00 2001 From: joseph Date: Thu, 19 Nov 2026 09:29:06 +0000 Subject: [PATCH 2/2] Pin actions-qa-ci v0.2.0 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/actions-qa-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions-qa-ci.yml b/.github/workflows/actions-qa-ci.yml index 6fb4814..7e35aad 100644 --- a/.github/workflows/actions-qa-ci.yml +++ b/.github/workflows/actions-qa-ci.yml @@ -12,4 +12,4 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 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