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.
1 parent aeaea85 commit 988d23aCopy full SHA for 988d23a
1 file changed
.github/workflows/check_samples.yml
@@ -25,7 +25,7 @@ jobs:
25
26
- name: Check Executable Bit
27
run: |
28
- EXECUTABLE_BIT=$(find . -not -type d -executable)
+ EXECUTABLE_BIT=$(find . -not -path '*/\.*' -type f -executable)
29
EXECUTABLE_BIT_COUNT=$(echo "${EXECUTABLE_BIT}" | wc -w)
30
if (( EXECUTABLE_BIT_COUNT > 0 )); then
31
echo "The following files have executable permissions (not allowed):"
@@ -35,7 +35,7 @@ jobs:
35
36
- name: Check Line Endings
37
38
- CRLF_ENDINGS=$(find . -not -type d -exec file "{}" ";" | grep CRLF || true)
+ CRLF_ENDINGS=$(find . -not -path '*/\.*' -type f -exec file "{}" ";" | grep CRLF || true)
39
CRLF_ENDINGS_COUNT=$(echo "${CRLF_ENDINGS}" | wc -w)
40
if (( CRLF_ENDINGS_COUNT > 0 )); then
41
echo "The following files have CRLF line endings (not allowed):"
0 commit comments