mirror of
https://github.com/nextcloud/server.git
synced 2024-09-13 15:48:32 +02:00
b18a7b8d22
Signed-off-by: Julius Härtl <jus@bitgrid.net>
24 lines
697 B
YAML
24 lines
697 B
YAML
name: Dependabot
|
|
on:
|
|
pull_request_target:
|
|
branches:
|
|
- master
|
|
- stable*
|
|
|
|
jobs:
|
|
auto-merge:
|
|
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]')
|
|
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 }}
|