ci: enable dependabot after v4 effort

This commit is contained in:
Vladimir Gorej
2021-11-03 09:15:45 +01:00
parent c0ef8d9b29
commit e7e977c91f
2 changed files with 25 additions and 0 deletions

25
.github/workflows/dependabot-merge.yml vendored Normal file
View File

@@ -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 }}