Skip to content

ci: add reusable dependabot-automerge.yml - #59

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:reusable-dependabot-automerge
Jun 5, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:reusable-dependabot-automerge

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Auto-approves and enables auto-merge on Dependabot PRs matching the configured update types/ecosystems. GitHub still requires the PR's status checks to pass before merging, so this only fast-tracks green PRs — relevant now that Dependabot (not CompatHelper) drives [compat] bumps and PR volume is up across ~150 repos.

Uses dependabot/fetch-metadata. Inputs: update-types (default semver-patch,semver-minor), ecosystems (default any), merge-method (default squash).

Caller (.github/workflows/DependabotAutoMerge.yml):

name: Dependabot Auto-merge
on: pull_request
permissions:
  contents: write
  pull-requests: write
jobs:
  automerge:
    uses: SciML/.github/.github/workflows/dependabot-automerge.yml@v1
    secrets: inherit

Requires the repo to have auto-merge enabled and (ideally) required status checks via branch protection, so the merge waits on green CI. actionlint clean.

Ignore until reviewed by @ChrisRackauckas.

🤖 Generated with Claude Code

Auto-approve and enable auto-merge on Dependabot PRs matching the configured
update types (default semver patch+minor) and optional ecosystem filter.
GitHub still gates the merge on the PR's required status checks, so only green
PRs fast-track. Uses dependabot/fetch-metadata; caller triggers on
pull_request and grants contents+pull-requests write.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
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