ci: Adding minimal required job set and validation preventing PRs from merging when tests are running #1
Workflow file for this run
This file contains hidden or 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
# Check based on https://github.com/marketplace/actions/allcheckspassed to prevent PRs from merging when there is no required checks but some jobs are running | |
name: All checks pass verification | |
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: | |
delay: '1' | |
retries: '48' | |
polling_interval: '5' |