Skip to content

Commit

Permalink
ci(dependabot): GA merge PR action (#7102)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-lai committed Mar 19, 2021
1 parent 2847fab commit dbdbf51
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dependabot-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Merge me!

on:
pull_request_target:

jobs:
merge-me:
name: Merge me!
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: 'Wait for status checks'
id: waitforstatuschecks
uses: WyriHaximus/github-action-wait-for-status@v1
with:
ignoreActions: Merge me!
checkInterval: 180
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Merge me!
if: steps.waitforstatuschecks.outputs.status == 'success'
uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}

0 comments on commit dbdbf51

Please sign in to comment.