Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Gieling <github@dartcafe.de>2021-05-05 09:46:20 +0300
committerGitHub <noreply@github.com>2021-05-05 09:46:20 +0300
commit016223c8527ed061a4dd78da657a7b89bc00bd9a (patch)
tree2f08fdf91a37d3f13c685bed168ac55f91cc2330 /.github
parent2629c7b035a91ab0ae2fbb9b7a0329eeb147735e (diff)
Update auto-merge.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/auto-merge.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml
index 254cbbf6..0d014b92 100644
--- a/.github/workflows/auto-merge.yml
+++ b/.github/workflows/auto-merge.yml
@@ -7,8 +7,17 @@ jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ # Default github action approve
+ - uses: hmarr/auto-approve-action@v2.0.0
+ 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.AUTO_MERGE }}