We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d771a0f commit 2f5c68bCopy full SHA for 2f5c68b
.github/workflows/code_health_fork.yaml
@@ -88,3 +88,19 @@ jobs:
88
file: coverage/lcov.info
89
git-branch: ${{ github.head_ref || github.ref_name }}
90
git-commit: ${{ github.event.pull_request.head.sha || github.sha }}
91
+
92
+ merge-dependabot-pr:
93
+ name: Merge Dependabot PR
94
+ if: github.event.pull_request.user.login == 'dependabot[bot]'
95
+ runs-on: ubuntu-latest
96
+ permissions:
97
+ pull-requests: write
98
+ contents: write
99
+ needs:
100
+ - coverage
101
+ steps:
102
+ - name: Enable auto-merge for Dependabot PRs
103
+ run: gh pr merge --auto --squash "$PR_URL"
104
+ env:
105
+ PR_URL: ${{github.event.pull_request.html_url}}
106
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments