Skip to content

feat(ci): add test gating #122

feat(ci): add test gating

feat(ci): add test gating #122

Workflow file for this run

name: PR
on:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
packages: write
pull-requests: write
jobs:
test-robot-unlabel:
if: github.event.action == 'synchronize'
name: Job
uses: ./.github/workflows/test-robot-unlabel.yml
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
build:
needs: test-robot-unlabel
if: ${{ !failure() && !cancelled() && needs.test-robot-unlabel.result != 'failure' }}
name: Job
uses: ./.github/workflows/build.yml
test-robot-check:
needs: build
name: Job
uses: ./.github/workflows/test-robot-check.yml
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
all-green:
needs: test-robot-check
name: Job
uses: ./.github/workflows/all-green.yml