We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29b80d4 + a152f57 commit 4570477Copy full SHA for 4570477
.github/workflows/check-executable-permissions.yml
@@ -16,7 +16,7 @@ jobs:
16
- name: Detect missing executable permissions on shell scripts
17
run: |
18
# Find all .sh and run.sh scripts without +x
19
- BAD=$(find . -type f -name 'run.sh' -o -name '*.sh' ! -perm -u=x)
+ BAD=$(find . -type f \( -name "*.sh" -o -name "run.sh" \) ! -perm -u=x)
20
if [ -n "$BAD" ]; then
21
echo "::error file=run.sh,line=1::❌ Some shell scripts are missing executable permissions. This can break CI and LAVA. Please fix before merging."
22
echo "::error file=run.sh,line=2::To fix, run: find . -name '*.sh' -o -name 'run.sh' | xargs chmod +x && git add . && git commit -m 'Fix: restore executable bits on scripts' && git push"
0 commit comments