Skip to content

Commit

Permalink
Merge pull request #318 from nextcloud/feat/workflow-auto-update-depe…
Browse files Browse the repository at this point in the history
…ndabot-approve-merge.yml
  • Loading branch information
skjnldsv authored Apr 12, 2022
2 parents fb4598e + d47e6af commit f9f574d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 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
- uses: hmarr/auto-approve-action@v2.0.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
# Github actions bot approve
- uses: hmarr/auto-approve-action@v2
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]'
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}

0 comments on commit f9f574d

Please sign in to comment.