mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 21:11:31 -07:00
Annotate exec bit
This commit is contained in:
parent
4df1c8c537
commit
75218de62a
1 changed files with 3 additions and 2 deletions
5
.github/workflows/check_samples.yml
vendored
5
.github/workflows/check_samples.yml
vendored
|
@ -29,8 +29,9 @@ jobs:
|
||||||
EXECUTABLE_BIT=$(find . -not -path '*/\.*' -type f -executable)
|
EXECUTABLE_BIT=$(find . -not -path '*/\.*' -type f -executable)
|
||||||
EXECUTABLE_BIT_COUNT=$(echo "${EXECUTABLE_BIT}" | wc -w)
|
EXECUTABLE_BIT_COUNT=$(echo "${EXECUTABLE_BIT}" | wc -w)
|
||||||
if (( EXECUTABLE_BIT_COUNT > 0 )); then
|
if (( EXECUTABLE_BIT_COUNT > 0 )); then
|
||||||
echo "The following files have executable permissions (not allowed):"
|
for i in ${EXECUTABLE_BIT}; do
|
||||||
echo "${EXECUTABLE_BIT}"
|
echo "::error file=${i},line=1,title=Executable Bit::This file is set as exectutable, which is not allowed"
|
||||||
|
done
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue