mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-11-08 07:20:59 +08:00
Merge branch 'master' of https://github.com/StuffAnThings/qbit_manage into develop
* 'master' of https://github.com/StuffAnThings/qbit_manage: Update dependabot-approve-and-auto-merge.yml
This commit is contained in:
commit
6fb3bf54b1
1 changed files with 4 additions and 2 deletions
|
|
@ -1,10 +1,12 @@
|
|||
name: Dependabot Pull Request Approve and Merge
|
||||
|
||||
on: pull_request_target
|
||||
on: pull_request
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
issues: write
|
||||
contents: write
|
||||
repository-projects: write
|
||||
|
||||
jobs:
|
||||
dependabot:
|
||||
|
|
@ -30,7 +32,7 @@ jobs:
|
|||
# updates if all checks pass
|
||||
- name: Enable auto-merge for Dependabot PRs
|
||||
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
|
||||
run: gh pr merge --auto --squash "$PR_URL"
|
||||
run: gh pr merge --auto --merge "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{ github.event.pull_request.html_url }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue