Skip to content

Commit

Permalink
Updating dependabot-approve-merge.yml workflow from template
Browse files Browse the repository at this point in the history
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
  • Loading branch information
nextcloud-bot committed Jan 28, 2022
1 parent 5395433 commit d47e6af
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 d47e6af

Please sign in to comment.