Skip to content

ci: stop dependabot from triggering heavy workflows - #2

Merged
EmersonBraun merged 1 commit into
mainfrom
claude/dependabot-ci-guard
Sep 16, 2026
Merged

EmersonBraun merged 1 commit into
mainfrom
claude/dependabot-ci-guard

Conversation

@EmersonBraun

Copy link
Copy Markdown
Member

Part of the ecosystem-wide effort to cut wasted CI minutes (same change as AgentsKit-io/agentskit#1579).

What changed

  • .github/workflows/test.yaml — added a top-level concurrency: group so a new push to a PR supersedes the in-flight run. cancel-in-progress is gated on github.event_name == 'pull_request', so pushes to main always run to completion.
  • .github/workflows/validate.yml — same top-level concurrency: group, same guard.
  • .github/dependabot.yml — added open-pull-requests-limit: 3 to the github-actions entry, which had no limit (defaulting to 5).

What deliberately did not change

  • .github/workflows/release.yaml (Publish Features) — a publish workflow; cancelling one mid-run is unsafe, so no concurrency group was added. It is workflow_dispatch-only anyway.
  • No job was gated on github.actor != 'dependabot[bot]'. This repo's three jobs (package, playbook, scenarios) are its package/test jobs, not auxiliary heavy jobs — and since the only dependabot ecosystem here is github-actions, those tests are exactly what validates an action bump. Skipping them would leave dependabot PRs unverified.

Verification

Each edited file was re-parsed with python3 -c "import yaml; yaml.safe_load(...)". No files outside .github/ were touched.

🤖 Generated with Claude Code

https://claude.ai/code/session_015eDrUXwb4BZWXUuwpNMkDn


Generated by Claude Code

- 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015eDrUXwb4BZWXUuwpNMkDn
@EmersonBraun
EmersonBraun merged commit 1b939cc into main Sep 16, 2026
6 checks passed
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.

2 participants