Skip to content

feat(ci): add test gating #81

feat(ci): add test gating

feat(ci): add test gating #81

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
test-robot-check:
needs: test-robot-unlabel
if: always() && needs.test-robot-unlabel.result != 'failure'
name: Job
uses: ./.github/workflows/test-robot-check.yml
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
ensure-ci-success:
runs-on: ubuntu-latest
steps:
- name: Run Ensure CI Success
uses: DataDog/ensure-ci-success@v2
# build:
# needs: test-robot-unlabel
# if: always() && needs.test-robot-unlabel.result != 'failure'
# name: Job
# uses: ./.github/workflows/build.yml