Skip to content

feat(ci): add test gating #14

feat(ci): add test gating

feat(ci): add test gating #14

name: PR
on:
pull_request:
types: [labeled]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
jobs:
test-robot-label:
if: github.event.label.name == 'test-robot-done'
name: Job
uses: ./.github/workflows/test-robot-label.yml
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
test-robot-check:
needs: test-robot-label
name: Job
uses: ./.github/workflows/test-robot-check.yml
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
allchecks:
needs: test-robot-check
runs-on: ubuntu-latest
name: Job
steps:
- uses: wechuli/allcheckspassed@v2
with:
poll: false
delay: 0
retries: 0