ci: automerge dependabot PRs that passes CI (#6699)
This commit is contained in:
21
.github/workflows/nodejs.yml
vendored
21
.github/workflows/nodejs.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user