Wait for checks before auto-merge Crowdin updates (#9156)

This commit is contained in:
Pascal Jufer
2021-10-26 15:48:45 +02:00
committed by GitHub
parent 5c79e880bd
commit 3ba5c5935d

View File

@@ -15,6 +15,19 @@ jobs:
if: github.event.pull_request.user.login == 'rijkvanzanten' && github.event.pull_request.title == 'New Crowdin updates' && github.head_ref == 'translations'
runs-on: ubuntu-latest
steps:
- name: Wait for checks
uses: lewagon/wait-on-check-action@v1.1.1
# Ensure this step doesn't run too long
timeout-minutes: 8
# Still try to auto-merge if this step has failed
continue-on-error: true
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.sha }}
running-workflow-name: Auto-Merge
wait-interval: 15
allowed-conclusions: success,skipped,cancelled,failure
- name: Auto-Merge
uses: pascalgn/automerge-action@v0.14.3
env: