Add label to mark dependabot updates as not requiring release

This commit is contained in:
Zach Borboa
2023-10-03 18:29:32 -07:00
parent d23364b10d
commit 4c54b5f824
@@ -18,6 +18,7 @@ jobs:
if: ${{steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch'}}
run: |
gh pr review --approve "$PR_URL"
gh pr edit --add-label "cleanup-no-release-required" "$PR_URL"
gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
@@ -26,6 +27,7 @@ jobs:
if: ${{steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor'}}
run: |
gh pr review --approve "$PR_URL"
gh pr edit --add-label "cleanup-no-release-required" "$PR_URL"
gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}