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 7489175 commit eef1671Copy full SHA for eef1671
.github/workflows/main.yml
@@ -0,0 +1,21 @@
1
+on:
2
+ workflow_dispatch:
3
+ schedule:
4
+ - cron: '0 0 * * *'
5
+
6
+jobs:
7
+ merge-dependabot:
8
+ name: Auto-merge Dependabot PRs
9
+ if: "github.event.name == 'pull_request_target' && github.actor == 'dependabot[bot]' && contains( github.event.pull_request.labels.*.name, 'java')"
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Approve
13
+ uses: hmarr/auto-approve-action@v3.1.0
14
+ with:
15
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
16
+ - name: Merge
17
+ uses: pascalgn/automerge-action@v0.15.6
18
+ env:
19
+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
20
+ MERGE_LABELS: "dependencies"
21
+ MERGE_METHOD: "squash"
0 commit comments