We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 47b48cf + 4429bca commit d648a27Copy full SHA for d648a27
.github/workflows/auto-merge.yml
@@ -1,5 +1,5 @@
1
# Source: https://nicolasiensen.github.io/2022-07-23-automating-dependency-updates-with-dependabot-github-auto-merge-and-github-actions/
2
-name: Dependabot auto-merge
+name: PR auto-merge
3
on: pull_request_target
4
5
permissions:
@@ -38,3 +38,13 @@ jobs:
38
env:
39
PR_URL: ${{github.event.pull_request.html_url}}
40
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
41
+
42
+ review-mod-update-pr:
43
+ runs-on: ubuntu-latest
44
+ if: ${{ github.event.pull_request.title == 'Update Hugo module dependencies' }}
45
+ steps:
46
+ - name: Enable auto-merge for mod-update PRs
47
+ run: gh pr merge --auto --merge "$PR_URL"
48
+ env:
49
+ PR_URL: ${{github.event.pull_request.html_url}}
50
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments