Skip to content

Commit e4ba4d5

Browse files
authored
Merge pull request #510 from nextcloud/bugfix/noid/automerge_patch
Automerge patch updates of dependencies
2 parents 9f4e2fe + bd4181c commit e4ba4d5

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed
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: patch
19+
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}

.github/workflows/dependabot-approve.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)