From 3584942ce4bf1f6085fd91ada63338a9b609f4c0 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 16 Sep 2026 16:40:49 +0000 Subject: [PATCH] ci: stop dependabot from triggering heavy workflows - Add a top-level concurrency group to Test Features and Validate Features so a new push to a PR supersedes its in-flight run; pushes to main are never cancelled. - Cap dependabot's github-actions updates at 3 open pull requests. - Publish Features is left untouched: it is a publish workflow and is unsafe to cancel mid-run. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_015eDrUXwb4BZWXUuwpNMkDn --- .github/dependabot.yml | 1 + .github/workflows/test.yaml | 5 +++++ .github/workflows/validate.yml | 5 +++++ 3 files changed, 11 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4bb4028..1b6f13b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,6 +2,7 @@ version: 2 updates: - package-ecosystem: github-actions directory: / + open-pull-requests-limit: 3 schedule: interval: monthly groups: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0e8b98e..525ce6e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,6 +9,11 @@ on: permissions: contents: read +concurrency: + # Supersede in-flight runs for the same PR; pushes to the default branch always finish. + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: package: runs-on: ubuntu-latest diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 751ad3f..5276df2 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -7,6 +7,11 @@ on: permissions: contents: read +concurrency: + # Supersede in-flight runs for the same PR; pushes to the default branch always finish. + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: validate: runs-on: ubuntu-latest