Skip to content

chore(ci): add allcheckspassed GitHub action #9

chore(ci): add allcheckspassed GitHub action

chore(ci): add allcheckspassed GitHub action #9

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'