Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,19 @@ jobs:
ci_workflow: ci.yml
# SPACE-separated: the sweep word-splits this.
rearm_workflows: 'ci.yml publish.yml'
secrets:
# GITHUB_TOKEN cannot merge a PR that touches .github/workflows, so every
# Dependabot `github_actions` bump stalls forever: the sweep tries, the
# merge API refuses, it logs "leaving for the next sweep", and repeats —
# while still exiting 0. ai-kit #11 sat green for nine days that way, and
# aoz-housing #122 for nine more.
#
# A PAT also makes the queue drain at CI speed rather than at the
# schedule's. A dispatch made with GITHUB_TOKEN emits no workflow_run, so
# after each merge nothing wakes the sweep for the next PR until the cron
# fires — and GitHub throttles that to roughly hourly whatever the cron
# says. A PAT-created dispatch does emit it.
#
# Undefined resolves to empty and the reusable workflow falls back to
# github.token, so this line is inert until the org secret exists.
token: ${{ secrets.FLEET_PAT }}