Skip to content

Commit 1e4f085

Browse files
committed
adjust update-crds pipeline for new folder structure
Signed-off-by: Sebastian Hoß <[email protected]>
1 parent 4ddb3ee commit 1e4f085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-crds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: ./code-generator/generate.sh
2828
- name: Fix changed CRDs
2929
run: |
30-
for group in $(git diff --name-only origin/main -- ./custom-resources | grep lib.rs | xargs --no-run-if-empty -I{} dirname {} | xargs --no-run-if-empty -I{} dirname {} | xargs --no-run-if-empty -I{} basename {} | sort --unique); do
30+
for group in $(git diff --name-only origin/main -- ./custom-resources | grep --fixed-strings '.rs' | grep --invert-match lib.rs | xargs --no-run-if-empty -I{} dirname {} | xargs --no-run-if-empty -I{} dirname {} | xargs --no-run-if-empty -I{} dirname {} | xargs --no-run-if-empty -I{} basename {} | sort --unique); do
3131
echo "trying to fix ${group}"
3232
if [ -f "./custom-resources/${group}/src/lib.rs" ]; then
3333
./code-generator/fix-cargo-warnings.sh "${group}"

0 commit comments

Comments
 (0)