Skip to content

Commit dc47397

Browse files
authored
Merge pull request #440 from nextcloud/feat/dependabot-ga/stable18
Add dependabot-approve-merge
2 parents 312845a + 4648d0c commit dc47397

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Dependabot
2+
on: pull_request
3+
4+
jobs:
5+
auto-merge:
6+
runs-on: ubuntu-latest
7+
steps:
8+
# Default github action approve
9+
- uses: hmarr/auto-approve-action@v2.0.0
10+
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
11+
with:
12+
github-token: ${{ secrets.GITHUB_TOKEN }}
13+
14+
# Nextcloud bot approve and merge request
15+
- uses: ahmadnassri/action-dependabot-auto-merge@v1
16+
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
17+
with:
18+
target: minor
19+
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}

0 commit comments

Comments
 (0)