Repository navigation
ci: use the shared Dependabot auto-merge gate, add a 7-day cooldown - #28
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🟢 Tier S · Ready to merge
The workflow delegates Dependabot patch and minor update approval and merging to the pinned shared gate after CI completes. Dependabot npm and GitHub Actions updates use a seven-day default cooldown, and the gate now has Actions read permission to inspect workflow runs. Latest changes: The new commit grants the shared gate Actions read permission so it can enumerate workflow runs for the Dependabot commit.
📂 Walkthrough · 2
✅ Fixed since the last review · 1
Reviewed the commits since |
The shared gate lists the commit's workflow runs, which needs it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces this repo's
dependabot-auto-merge.ymlwith a call to the shared workflow from appwrite/.github#132, pinned to its merge commit.The shared gate runs after each workflow a PR triggers, from the default branch, so a PR can't change it. For a Dependabot patch or minor update it waits for every workflow run, check run and commit status on the exact head SHA, approves when all of them pass, and merges with
--match-head-commit. Majors and failures stay for a human. Because it merges directly, the repo doesn't need Allow auto-merge or required status checks.Adds
cooldown: default-days: 7to every update entry, matching appwrite/appwrite, so a release is a week old before Dependabot proposes it. That gives a compromised release time to get yanked before it's auto-merged. Security updates ignore cooldown.Part of fixing Dependabot auto-merge across both orgs: 0 bot merges in 30 days, 266 open PRs.
🤖 Generated with Claude Code