Skip to content

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

refactor(test-label): handle unlabeled event

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

name: PR - Label
on:
pull_request:
types: [labeled, unlabeled]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.event.label.name }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
actions: write
jobs:
test-robot-label:
name: Job
uses: ./.github/workflows/test-robot-label.yml
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
secrets:
token: ${{ secrets.BOT_REPO_TOKEN }}
test-robot-check:
needs: test-robot-label
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