2022-02-21 21:14:03 +00:00
|
|
|
name: Dependabot Auto-Merge
|
2022-04-06 19:07:14 +00:00
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
branches: [ develop ]
|
2022-02-21 21:14:03 +00:00
|
|
|
|
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
dependabot:
|
2022-02-21 21:40:45 +00:00
|
|
|
name: Dependabot Auto-Merge
|
2022-02-21 21:14:03 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
|
|
|
steps:
|
|
|
|
- name: Enable auto-merge for Dependabot PRs
|
2022-02-26 05:04:37 +00:00
|
|
|
run: gh pr merge --auto --merge "$PR_URL"
|
2022-02-21 21:14:03 +00:00
|
|
|
env:
|
2022-02-26 17:07:54 +00:00
|
|
|
PR_URL: ${{ github.event.pull_request.html_url }}
|
2022-02-21 21:14:03 +00:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|