Skip to content

feat(ci): add test gating #129

feat(ci): add test gating

feat(ci): add test gating #129

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

Check failure on line 29 in .github/workflows/pull-request.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pull-request.yml

Invalid workflow file

error parsing called workflow ".github/workflows/pull-request.yml" -> "./.github/workflows/build.yml" --> "getdevopspro/github-actions/.github/workflows/build.yml@v6.1.1" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
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