mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-25 21:47:00 +08:00
Merge branch 'develop' into dependabot/github_actions/develop/dependabot/fetch-metadata-1.3.6
This commit is contained in:
commit
d8d3a58ae4
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