ci(dependabot): cap the auto-merge job at 30 minutes

Merged
GL
3d ago
+3-0

On 2026-11-16 the Dependabot auto-merge job on #413 waited in lewagon/wait-on-check-action for 6 hours until GitHub's default job timeout cancelled it, so auto-merge was never enabled and the runner was held for 361 billed minutes. This caps the job at 30 minutes.

Before and after

BeforeAfter
Job timeout360 min (GitHub default)30 min
Longest CI run on a PR, last 7 daysabout 9 minunchanged

Verification

  • actionlint clean.
  • A timed-out job is cancelled, so the gh pr merge --auto step cannot run after it: that step keeps its implicit success() condition.
  • No permissions, triggers or actions change.

Risk

If a check takes longer than 30 minutes, auto-merge is not enabled for that Dependabot PR and the job needs a re-run, which is what happens today after 6 hours.

No runtime change, no demo.

Requested by guillaume@stackone.com

šŸ¤– Generated with Claude Code


Summary by cubic

Caps the Dependabot auto-merge job at 30 minutes. Previously, the wait-on-check step polled until GitHub's 6-hour default job timeout cancelled the run, which held a runner for 361 billed minutes and left the PR without auto-merge. CI's longest run in the last 7 days took about 9 minutes, so 30 minutes leaves ample headroom; if a check takes longer, auto-merge is skipped and the job needs a re-run, which already happens today after 6 hours.