Merge pull request #6261 from vvoland/gha-fix

gha/validate-pr: Replace `continue-on-error`
This commit is contained in:
Sebastiaan van Stijn
2025-08-14 14:17:43 +02:00
committed by GitHub

View File

@ -19,14 +19,12 @@ jobs:
timeout-minutes: 120 # guardrails timeout for the whole job
steps:
- name: Missing `area/` label
continue-on-error: true
if: contains(join(github.event.pull_request.labels.*.name, ','), 'impact/') && !contains(join(github.event.pull_request.labels.*.name, ','), 'area/')
if: always() && contains(join(github.event.pull_request.labels.*.name, ','), 'impact/') && !contains(join(github.event.pull_request.labels.*.name, ','), 'area/')
run: |
echo "::error::Every PR with an 'impact/*' label should also have an 'area/*' label"
exit 1
- name: Missing `kind/` label
continue-on-error: true
if: contains(join(github.event.pull_request.labels.*.name, ','), 'impact/') && !contains(join(github.event.pull_request.labels.*.name, ','), 'kind/')
if: always() && contains(join(github.event.pull_request.labels.*.name, ','), 'impact/') && !contains(join(github.event.pull_request.labels.*.name, ','), 'kind/')
run: |
echo "::error::Every PR with an 'impact/*' label should also have a 'kind/*' label"
exit 1