Skip to content

feat(ci): add test gating #51

feat(ci): add test gating

feat(ci): add test gating #51

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-unlabel:
if: github.event.action == 'synchronize'
name: Test Unlabel
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove Test Label
uses: ./.github/actions/test-unlabel
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
build:
needs: test-unlabel
if: always() && github.event.action != 'labeled'
name: Job
uses: ./.github/workflows/build.yaml