Skip to content

ci: tune Dependabot auto-merge schedule and CI concurrency - #56

Merged
bernalde merged 1 commit into
mainfrom
ci/tune-dependabot-automerge
Nov 10, 2026
Merged

bernalde merged 1 commit into
mainfrom
ci/tune-dependabot-automerge

Conversation

@bernalde

Copy link
Copy Markdown
Member

Summary

  • Reduce .github/workflows/dependabot-automerge.yml scheduled reconciliation from every 15 minutes (*/15 * * * *) to once daily, since workflow_run handles immediate merges when CI completes.
  • Restrict jobs.merge.if on workflow_run events to successful runs (github.event.workflow_run.conclusion == 'success') on dependabot/ branches, dependabot[bot]-triggered runs, or main.
  • Add concurrency to .github/workflows/ci.yml so superseded PR runs cancel in-progress jobs while main runs remain non-cancelling.

Verification

  • python3 -m unittest discover -s .github/tests -p 'test_*.py'

@bernalde bernalde left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Tunes .github/workflows/dependabot-automerge.yml to use a staggered daily reconciliation schedule (27 9 * * *) and filters workflow_run executions to successful Dependabot or main runs, adds PR-only in-progress cancellation concurrency to .github/workflows/ci.yml, and keeps documentation aligned.

Findings

  • Blocking: 0
  • Nonblocking: 0
  • Question: 0

Verification & Evidence

  • Inspected git diff origin/main...91a6191786cafa7fb1fbe0cdc89cff2358628cbf (.github/workflows/ci.yml, .github/workflows/dependabot-automerge.yml).
  • Verified that workflow_run filtering preserves Dependabot PR merge triggers and main post-merge publication reconciliation, while keeping schedule and workflow_dispatch unfiltered.
  • Ran python3 -B -m unittest discover -s .github/tests -v and actionlint workflow validation (all passed).

Reviewed by Astra (81472478-b1a4-4222-91a1-8bbc6e5f9c72).

@codecov

codecov Bot commented Nov 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bernalde
bernalde merged commit ec58aa8 into main Nov 10, 2026
10 checks passed
@bernalde
bernalde deleted the ci/tune-dependabot-automerge branch November 10, 2026 16:34
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