Skip to content

Commit fd799bd

Browse files
authored
update crdify to ack break change. (#7)
1 parent 07aeb2b commit fd799bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/crd-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
ack-breaking-changes:
1515
name: Ack Breaking Changes Labeler
16-
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/ack-breaking-changes')
16+
if: github.event.issue.pull_request && contains(github.event.comment.body, '/ack-breaking-changes')
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Add Label
@@ -71,7 +71,7 @@ jobs:
7171
7272
if [ "$FAILED" -gt 0 ]; then
7373
if [[ "$ALLOW_BREAKING" == "true" ]]; then
74-
echo "⚠️ Validation failed with $FAILED incompatible change(s), but allowed via '/ack-breaking-changes' label."
74+
echo "⚠️ Validation failed with $FAILED incompatible change(s), but allowed via 'ack-breaking-changes' label."
7575
exit 0
7676
else
7777
echo "❌ error: Validation failed! Found $FAILED incompatible CRD change(s)."

0 commit comments

Comments
 (0)