Next #3153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2021 Nextcloud contributors | |
# SPDX-License-Identifier: AGPL-3.0-or-later | |
name: auto-merge | |
on: pull_request_target | |
jobs: | |
auto-merge: | |
runs-on: ubuntu-latest | |
steps: | |
# Default github action approve | |
- uses: hmarr/auto-approve-action@v3 | |
if: github.ref == 'refs/heads/master' && | |
(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.ref == 'refs/heads/master' && | |
(github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]') | |
with: | |
target: minor | |
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }} |