Skip to content

Commit

Permalink
Merge pull request #510 from nextcloud/bugfix/noid/automerge_patch
Browse files Browse the repository at this point in the history
Automerge patch updates of dependencies
  • Loading branch information
georgehrke authored Sep 7, 2020
2 parents 9f4e2fe + bd4181c commit e4ba4d5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/dependabot-approve-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Dependabot
on: pull_request

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
# Default github action approve
- uses: hmarr/auto-approve-action@v2.0.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

# Nextcloud bot approve and merge request
- uses: ahmadnassri/action-dependabot-auto-merge@v1
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
target: patch
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
11 changes: 0 additions & 11 deletions .github/workflows/dependabot-approve.yml

This file was deleted.

0 comments on commit e4ba4d5

Please sign in to comment.