Skip to content

Instantly share code, notes, and snippets.

@mauriciomutte
Created November 4, 2021 17:11
Show Gist options
  • Save mauriciomutte/a3def5a85a376a44512c359f8b442233 to your computer and use it in GitHub Desktop.
Save mauriciomutte/a3def5a85a376a44512c359f8b442233 to your computer and use it in GitHub Desktop.
Dependabot auto merge
name: auto-merge
on:
pull_request_target:
branches:
- master
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: ahmadnassri/action-dependabot-auto-merge@v2.4
with:
github-token: ${{ secrets.mytoken }}
command: 'squash and merge'
target: minor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment