mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Wait for checks before auto-merge Crowdin updates (#9156)
This commit is contained in:
13
.github/workflows/auto-merge-crowdin.yml
vendored
13
.github/workflows/auto-merge-crowdin.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user