Skip to content

Commit

Permalink
Merge pull request #2128 from nextcloud/feat/workflow-auto-update-dep…
Browse files Browse the repository at this point in the history
…endabot-approve-merge.yml

Updating dependabot-approve-merge.yml workflow from template
  • Loading branch information
max-nextcloud authored Jan 24, 2022
2 parents ebce109 + 86eaf97 commit 186b2d5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dependabot-approve-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ name: Dependabot

on:
pull_request_target:
branches:
branches:
- master
- stable*

jobs:
auto-merge:
auto-approve-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest

steps:
# Default github action approve
# Github actions bot approve
- uses: hmarr/auto-approve-action@v2
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@v2
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}

0 comments on commit 186b2d5

Please sign in to comment.