Merge pull request #27717 from nextcloud/feat/workflow-auto-update

Updating dependabot-approve-merge.yml workflow from template
pull/27723/head
John Molakvoæ 3 years ago committed by GitHub
commit 506265a984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,10 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Dependabot
on:
pull_request_target:
branches:
@ -11,13 +17,13 @@ jobs:
steps:
# Default github action approve
- uses: hmarr/auto-approve-action@v2.0.0
if: (github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]')
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]')
- uses: ahmadnassri/action-dependabot-auto-merge@v1
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}

Loading…
Cancel
Save