Skip to content

Commit 8d34970

Browse files
committed
KTL-2822 Added GitHub workflow for dependabot pull requests auto merging.
1 parent 7e4766b commit 8d34970

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Dependabot auto merge
2+
on: pull_request_target
3+
4+
jobs:
5+
auto-approve:
6+
if: github.actor == 'dependabot[bot]'
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: hmarr/auto-approve-action@v4
10+
with:
11+
github-token: "${{ secrets.GITHUB_TOKEN }}"
12+
automerge:
13+
needs: auto-approve
14+
runs-on: ubuntu-latest
15+
if: github.actor == 'dependabot[bot]'
16+
steps:
17+
- uses: pascalgn/automerge-action@v0.16.4
18+
env:
19+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)