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 3f185c5 commit ccbc65fCopy full SHA for ccbc65f
.github/workflows/dependabot-auto-approve.yml
@@ -0,0 +1,20 @@
1
+name: Dependabot auto-approve
2
+on: pull_request
3
+
4
+permissions:
5
+ pull-requests: write
6
7
+jobs:
8
+ get-metadata:
9
+ uses: ./.github/workflows/dependabot-metadata.yml
10
11
+ dependabot:
12
+ runs-on: ubuntu-latest
13
+ needs: get-metadata
14
+ steps:
15
+ - name: Approve a PR
16
+ if: needs.get-metadata.outputs.update-type == 'version-update:semver-patch'
17
+ run: gh pr review --approve "$PR_URL"
18
+ env:
19
+ PR_URL: ${{ github.event.pull_request.html_url }}
20
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments