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 1ddb812 commit fc263b2Copy full SHA for fc263b2
1 file changed
.github/workflows/dependabot-auto-merge.yml
@@ -0,0 +1,25 @@
1
+name: 'Linuxfabrik: Dependabot auto-merge'
2
+
3
+on:
4
+ pull_request: {}
5
6
+permissions:
7
+ contents: 'write'
8
+ pull-requests: 'write'
9
10
+jobs:
11
+ auto-merge:
12
+ runs-on: 'ubuntu-latest'
13
+ if: 'github.actor == ''dependabot[bot]'''
14
+ steps:
15
16
+ - uses: 'dependabot/fetch-metadata@v2'
17
+ id: 'meta'
18
19
+ - if: >-
20
+ steps.meta.outputs.update-type == 'version-update:semver-patch'
21
+ || steps.meta.outputs.update-type == 'version-update:semver-minor'
22
+ run: 'gh pr merge --auto --squash "$PR_URL"'
23
+ env:
24
+ PR_URL: '${{ github.event.pull_request.html_url }}'
25
+ GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
0 commit comments