gnodet-bot commented on code in PR #29469:
URL: https://github.com/apache/camel/pull/29469#discussion_r4513119925
##########
.github/workflows/pr-ci-scripts-validation.yml:
##########
@@ -65,3 +65,11 @@ jobs:
run: |
cd .github/actions/incremental-build
uv run --with defusedxml python3 -m unittest discover --verbose
+
+ - name: Test the incremental build shell scripts
+ shell: bash
+ run: |
+ cd .github/actions/incremental-build
+ for test in *_test.sh; do
Review Comment:
💡 **Suggestion (from earlier review — still open):** Without `nullglob`, if
the directory ever has zero `*_test.sh` files, bash passes the literal string
`*_test.sh` to `bash`, producing a confusing "No such file" error instead of a
clean no-op.
```suggestion
shopt -s nullglob
for test in *_test.sh; do
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]