Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): add allcheckspassed GitHub action #9427

Closed
wants to merge 11 commits into from
21 changes: 21 additions & 0 deletions .github/workflows/all_checks_pass.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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'
Loading