Skip to content

Commit eef1671

Browse files
authored
Daily
1 parent 7489175 commit eef1671

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)