Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/api-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ name: API Compatibility

on:
pull_request:
# Include `labeled` and `unlabeled` so applying or removing
# `api-break-allowed` triggers a fresh workflow run. Without these,
# re-running the job from the UI uses the original event payload
# (which still has the old label set) and the skip condition misfires.
# Re-evaluating on `unlabeled` closes the gap where a user could
# apply the label, watch the check skip, then remove the label and
# merge without the check ever running against the current state.
types: [opened, synchronize, reopened, labeled, unlabeled]
paths:
- 'cmd/thv-operator/api/**'
# files/crds is the source of truth — controller-gen emits here, and
Expand Down
Loading