mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-02-22 01:29:39 +08:00
Update and rename dependabot.yml to dependabot_merge.yml
This commit is contained in:
parent
90af9dab02
commit
8712ca15b2
@ -15,13 +15,10 @@ jobs:
|
|||||||
uses: dependabot/fetch-metadata@v1.1.0
|
uses: dependabot/fetch-metadata@v1.1.0
|
||||||
with:
|
with:
|
||||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
- name: Approve a PR
|
- name: automerge
|
||||||
run: gh pr review --approve "$PR_URL"
|
uses: "pascalgn/automerge-action@v0.14.2"
|
||||||
- name: Enable auto-merge for Dependabot PRs
|
|
||||||
run: gh pr merge --auto --merge "$PR_URL"
|
|
||||||
env:
|
env:
|
||||||
PR_URL: ${{github.event.pull_request.html_url}}
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
||||||
- name: Reject PR
|
- name: Reject PR
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: superbrothers/close-pull-request@v3
|
uses: superbrothers/close-pull-request@v3
|
Loading…
Reference in New Issue
Block a user