mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 19:43:18 +00:00
Update Dependabot Auto-Merge workflow (Github Workflows)
This commit is contained in:
parent
304896bba2
commit
f77b8a91e0
6
.github/workflows/dependabot_auto-merge.yml
vendored
6
.github/workflows/dependabot_auto-merge.yml
vendored
@ -1,5 +1,5 @@
|
||||
name: Dependabot Auto-Merge
|
||||
on: pull_request
|
||||
on: pull_request_target
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
@ -12,7 +12,7 @@ jobs:
|
||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||
steps:
|
||||
- name: Enable auto-merge for Dependabot PRs
|
||||
run: gh pr comment "$PR_URL" --body "@dependabot merge"
|
||||
run: gh pr merge --auto --merge "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{ github.event.pull_request.html_url }}
|
||||
PR_URL: ${{ github.event.pull_request_target.html_url }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user