chore(ci): add allcheckspassed GitHub action #9
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
name: All checks pass | |
on: | |
pull_request: | |
# Include labeled and unlabeled for the `changelog/no-changelog` label | |
types: [ opened, synchronize, reopened, ready_for_review, labeled, unlabeled ] | |
jobs: | |
allchecks: | |
runs-on: ubuntu-latest | |
permissions: | |
checks: read | |
contents: read | |
steps: | |
- uses: wechuli/allcheckspassed@v1 | |
with: | |
# Wait 10 minutes, then poll every 3 minutes for up to 60 minutes (70 minutes total) | |
delay: 10 | |
retries: 20 | |
polling_interval: 3 | |
# Everything other than `require-checklist` | |
# Explicitly require `dd-gitlab/finished` to ensure we block until all GitLab jobs have finished | |
checks_include: '(?!require-checklist),dd-gitlab/finished' |