From 56fed72eecd7a7edd273e7d678d828e679e86e14 Mon Sep 17 00:00:00 2001 From: Christian Bager Bach Houmann Date: Sun, 11 Oct 2026 05:30:24 +0200 Subject: [PATCH 1/5] test(ci): record concurrency probe events --- .github/workflows/dependency-review.yml | 7 +++++++ .github/workflows/documentation.yml | 7 +++++++ .github/workflows/test.yml | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 8f566971..af4f7646 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -15,6 +15,13 @@ jobs: name: Dependency Review runs-on: ubuntu-latest steps: + - name: Record probe event + env: + EVENT_ACTION: ${{ github.event.action }} + EVENT_SHA: ${{ github.event.pull_request.head.sha }} + run: | + echo "action=$EVENT_ACTION head=$EVENT_SHA" + sleep 45 - name: Dependency Review uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0 with: diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 865e8394..4288431e 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -18,6 +18,13 @@ jobs: name: Docs runs-on: ubuntu-latest steps: + - name: Record probe event + env: + EVENT_ACTION: ${{ github.event.action }} + EVENT_SHA: ${{ github.event.pull_request.head.sha }} + run: | + echo "action=$EVENT_ACTION head=$EVENT_SHA" + sleep 45 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f0c8502d..9a6752e2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,13 @@ jobs: name: Test runs-on: ubuntu-latest steps: + - name: Record probe event + env: + EVENT_ACTION: ${{ github.event.action }} + EVENT_SHA: ${{ github.event.pull_request.head.sha }} + run: | + echo "action=$EVENT_ACTION head=$EVENT_SHA" + sleep 45 - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: From d4815042427a1132ece1a42dd6127240c2828cd1 Mon Sep 17 00:00:00 2001 From: Christian Bager Bach Houmann Date: Sun, 11 Oct 2026 05:34:48 +0200 Subject: [PATCH 2/5] test(ci): probe duplicate events without concurrency --- .github/workflows/dependency-review.yml | 6 +----- .github/workflows/documentation.yml | 4 ---- .github/workflows/pr-title.yml | 11 +++++++---- .github/workflows/test.yml | 4 ---- 4 files changed, 8 insertions(+), 17 deletions(-) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index af4f7646..b7690d5b 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -1,15 +1,11 @@ name: Dependency Review on: pull_request: - branches: [master] + branches: [master, ci/ci1-concurrency-probe-base] permissions: contents: read -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} - cancel-in-progress: true - jobs: dependency-review: name: Dependency Review diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 4288431e..2fe65068 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -9,10 +9,6 @@ on: permissions: contents: read -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} - cancel-in-progress: true - jobs: docs: name: Docs diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 155c3ade..0f964971 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -8,15 +8,18 @@ on: permissions: pull-requests: read -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} - cancel-in-progress: true - jobs: validate: name: Validate PR title runs-on: ubuntu-latest steps: + - name: Record probe event + env: + EVENT_ACTION: ${{ github.event.action }} + EVENT_SHA: ${{ github.event.pull_request.head.sha }} + run: | + echo "action=$EVENT_ACTION head=$EVENT_SHA" + sleep 45 # Read the title from the API: a re-run reuses the original event payload. # The planner ignores the "!" breaking marker, so the pattern rejects it. - name: Lint PR title diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a6752e2..46c17551 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,10 +9,6 @@ on: permissions: contents: read -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} - cancel-in-progress: true - jobs: test: name: Test From c1715b315ae5a057051d8948086ccb8bbea885cf Mon Sep 17 00:00:00 2001 From: Christian Bager Bach Houmann Date: Sun, 11 Oct 2026 05:35:13 +0200 Subject: [PATCH 3/5] test(ci): probe a newer head while earlier checks run From 1df3ef21c83025998cb5b396b7730b1e8d75d080 Mon Sep 17 00:00:00 2001 From: Christian Bager Bach Houmann Date: Sun, 11 Oct 2026 05:35:56 +0200 Subject: [PATCH 4/5] test(ci): run fixed title policy from the probe head --- .github/workflows/ci1-title-probe.yml | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/ci1-title-probe.yml diff --git a/.github/workflows/ci1-title-probe.yml b/.github/workflows/ci1-title-probe.yml new file mode 100644 index 00000000..573fbd90 --- /dev/null +++ b/.github/workflows/ci1-title-probe.yml @@ -0,0 +1,35 @@ +# The squash-merge commit takes the PR title, and the release planner reads that +# commit to pick the next version. Validate the title as a Conventional Commit. +name: PR Title probe +on: + pull_request: + types: [opened, edited, synchronize, reopened] + +permissions: + pull-requests: read + +jobs: + validate: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - name: Record probe event + env: + EVENT_ACTION: ${{ github.event.action }} + EVENT_SHA: ${{ github.event.pull_request.head.sha }} + run: | + echo "action=$EVENT_ACTION head=$EVENT_SHA" + sleep 45 + # Read the title from the API: a re-run reuses the original event payload. + # The planner ignores the "!" breaking marker, so the pattern rejects it. + - name: Lint PR title + env: + GH_TOKEN: ${{ github.token }} + PR_URL: ${{ github.event.pull_request.html_url }} + run: | + title="$(gh pr view "$PR_URL" --json title --jq .title)" + types="feat|fix|perf|docs|style|refactor|test|build|ci|chore|revert|release" + if [[ ! "$title" =~ ^($types)(\([^()]+\))?:\ [^[:space:]] ]]; then + echo "::error::PR title \"$title\" is not a Conventional Commit: (): , with type one of ${types//|/, }. Mark a breaking change with a BREAKING CHANGE: footer in the squash commit body, not with \"!\"." + exit 1 + fi From 1e565b2ee16491f75dceecb2fd12de26a97e2115 Mon Sep 17 00:00:00 2001 From: Christian Bager Bach Houmann Date: Sun, 11 Oct 2026 05:39:21 +0200 Subject: [PATCH 5/5] test(ci): verify the fixed probe against master