ci: dependatbot auto-merge

This commit is contained in:
Ruben Fiszel
2022-07-05 04:04:47 +02:00
parent 7208636de8
commit 6562ef7d8a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
* @rubenfiszel @github-actions
* @rubenfiszel
+2 -2
View File
@@ -20,10 +20,10 @@ jobs:
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.RUBEN_PAT}}
- name: Enable auto-merge for Dependabot PRs
if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.RUBEN_PAT}}