Skip to content

refactor(test-label): handle unlabeled event #166

refactor(test-label): handle unlabeled event

refactor(test-label): handle unlabeled event #166

Workflow file for this run

name: PR
on:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
packages: write
pull-requests: write
checks: read
jobs:
test-robot-remove:
name: Job
uses: ./.github/workflows/test-robot-remove.yml
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
secrets:
token: ${{ secrets.BOT_REPO_TOKEN }}
build:
needs: test-robot-remove
if: ${{ !failure() && !cancelled() && needs.test-robot-remove.result != 'failure' }}
# name: Job
# uses: ./.github/workflows/build.yml
runs-on: ubuntu-latest
name: Build
steps:
- run: echo "Build step - replace with actual build commands"
test-robot-check:
needs: build
if: ${{ !cancelled() }}
name: Job
uses: ./.github/workflows/test-robot-check.yml
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
secrets:
token: ${{ secrets.BOT_REPO_TOKEN }}
all-green:
needs: test-robot-check
if: ${{ !cancelled() }}
name: Job
uses: ./.github/workflows/all-green.yml