mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 23:53:17 +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
|
name: Dependabot Auto-Merge
|
||||||
on: pull_request
|
on: pull_request_target
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
@ -12,7 +12,7 @@ jobs:
|
|||||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Enable auto-merge for Dependabot PRs
|
- 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:
|
env:
|
||||||
PR_URL: ${{ github.event.pull_request.html_url }}
|
PR_URL: ${{ github.event.pull_request_target.html_url }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user