chore(ci): add allcheckspassed GitHub action #4
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: | |
types: [ opened, synchronize, reopened, ready_for_review ] | |
jobs: | |
allchecks: | |
runs-on: ubuntu-latest | |
permissions: | |
checks: read | |
contents: read | |
steps: | |
- uses: wechuli/allcheckspassed@v1 | |
with: | |
# Wait 5 minutes, then poll every 3 minutes for up to 60 minutes (65 minutes total) | |
delay: 5 | |
retries: 20 | |
polling_interval: 3 | |
# These jobs are: | |
# - set in branch protection rules | |
# - not required | |
# - expected to fail until an action is taken (like a review) | |
checks_exclude: 'require-checklist' | |