Skip to content

Instantly share code, notes, and snippets.

@dorianmariecom
Last active November 10, 2021 15:33
Show Gist options
  • Select an option

  • Save dorianmariecom/f9e6c11a43e80dff40d601aa5ed6b111 to your computer and use it in GitHub Desktop.

Select an option

Save dorianmariecom/f9e6c11a43e80dff40d601aa5ed6b111 to your computer and use it in GitHub Desktop.
Auto-merge dependabot pull requests on minor and patch version upgrades when CI passes (yeah) `.github/workflows/auto-merge.yml`
---
jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
github-token: "${{ github.token }}"
target: minor
name: auto-merge
"on": pull_request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment