Skip to content

Prepare repository for Tenzir v4.12.1 #12539

Prepare repository for Tenzir v4.12.1

Prepare repository for Tenzir v4.12.1 #12539

Workflow file for this run

name: Labels
on:
pull_request:
types:
- opened
- labeled
- unlabeled
- synchronize
jobs:
check-labels:
name: Check Labels
runs-on: ubuntu-latest
steps:
- name: No Labels
run: |
# Fail if the PR has no labels.
echo '${{ toJson(github.event.pull_request.labels.*.name) }}' |
jq -re 'length > 0'
- name: Blocked
run: |
# Fail if the PR has the 'blocked' label.
echo '${{ toJson(github.event.pull_request.labels.*.name) }}' |
jq -re 'all(. != "blocked")'