ci: automerge dependabot PRs that passes CI (#6699)

This commit is contained in:
Tim Lai
2020-12-10 10:13:16 -08:00
committed by GitHub
parent 0fd9ef9a7e
commit 0dbea551bc

View File

@@ -10,6 +10,27 @@ on:
branches: [ master ]
jobs:
merge-me:
name: Merge me!
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
needs: [ build, commonjs-artifacts-test ]
strategy:
matrix:
node-version: [ 14.x ]
steps:
- name: Merge me!
uses: ridedott/merge-me-action@master
with:
GITHUB_LOGIN: dependabot[bot]
GITHUB_TOKEN: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
MERGE_METHOD: SQUASH
PRESET: DEPENDABOT_MINOR
build:
runs-on: ubuntu-latest