Browse Source

Merge pull request #10941 from nextcloud/nickvergessen-patch-1

Update update-nextcloud-ocp-approve-merge.yml
pull/10945/head
Joas Schilling 2 years ago
committed by GitHub
parent
commit
c735503d84
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/update-nextcloud-ocp-approve-merge.yml

4
.github/workflows/update-nextcloud-ocp-approve-merge.yml

@ -35,13 +35,13 @@ jobs:
# GitHub actions bot approve
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
if: startsWith(steps.branchname.outputs.branch, 'automated/noid/') == true && endsWith(steps.branchname.outputs.branch, 'update-nextcloud-ocp') != true
if: startsWith(steps.branchname.outputs.branch, 'automated/noid/') && endsWith(steps.branchname.outputs.branch, 'update-nextcloud-ocp')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Nextcloud bot approve and merge request
- name: Auto merge
uses: pascalgn/automerge-action@22948e0bc22f0aa673800da838595a3e7347e584 # v0.15.6
if: startsWith(steps.branchname.outputs.branch, 'automated/noid/') == true && endsWith(steps.branchname.outputs.branch, 'update-nextcloud-ocp') != true
if: startsWith(steps.branchname.outputs.branch, 'automated/noid/') && endsWith(steps.branchname.outputs.branch, 'update-nextcloud-ocp')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading…
Cancel
Save