mirror of
https://github.com/nextcloud/server.git
synced 2026-02-13 15:54:59 -05:00
Updating dependabot-approve-merge.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
This commit is contained in:
parent
4aece4cae9
commit
b4cb5e2cff
1 changed files with 9 additions and 3 deletions
12
.github/workflows/dependabot-approve-merge.yml
vendored
12
.github/workflows/dependabot-approve-merge.yml
vendored
|
|
@ -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…
Reference in a new issue