Skip to content

Bump docker/build-push-action from 5.3.0 to 6.7.0 #1481

Bump docker/build-push-action from 5.3.0 to 6.7.0

Bump docker/build-push-action from 5.3.0 to 6.7.0 #1481

Workflow file for this run

name: Check PR labels
on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-kind:
name: Enforce a valid PR category
runs-on: ubuntu-latest
steps:
- name: Check if a valid PR category is present
env:
LABELS: ${{ toJson(github.event.pull_request.labels.*.name) }}
run: |
if ! jq --exit-status 'any(test("kind/feature") or test("kind/docs") or test("kind/improvement") or test("kind/bug") or test("skip-release-notes") or test("area/tech-debt") or test("enhancement") or test("critical"))' >/dev/null <<< $LABELS; then
echo "::error ::Please set either kind/feature, kind/improvement, kind/bug, kind/docs, area/tech-debt, enhancement, critical, or skip-release-notes as label"
exit 1
fi