mirror of
https://github.com/s4u/setup-maven-action.git
synced 2026-02-18 00:00:11 +08:00
File sync from s4u/.github - Auto merge patch and minor updates
This commit is contained in:
2
.github/workflows/auto-approve.yml
vendored
2
.github/workflows/auto-approve.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
- name: Enable auto-merge for Dependabot PRs
|
- name: Enable auto-merge for Dependabot PRs
|
||||||
if: >
|
if: >
|
||||||
github.actor == 'dependabot[bot]'
|
github.actor == 'dependabot[bot]'
|
||||||
&& steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch'
|
&& steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major'
|
||||||
run: gh pr merge --auto --rebase "$PR_URL"
|
run: gh pr merge --auto --rebase "$PR_URL"
|
||||||
env:
|
env:
|
||||||
PR_URL: ${{github.event.pull_request.html_url}}
|
PR_URL: ${{github.event.pull_request.html_url}}
|
||||||
|
|||||||
Reference in New Issue
Block a user