Skip to content

Commit 5336dec

Browse files
committed
Testing: skip example .sh scripts when looking for lines longer than 80 chars
1 parent 29371b0 commit 5336dec

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/line-length-check.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ jobs:
5353
continue
5454
fi
5555
56+
# Skip shell scripts in examples/ directory
57+
# These often contain long command lines that are better kept on
58+
# single lines for readability
59+
if [[ "$file" =~ ^examples/.*\.sh$ ]]; then
60+
echo "Skipping $file (shell script in examples)"
61+
continue
62+
fi
63+
5664
echo "Checking: $file"
5765
5866
# Get added lines with actual file line numbers and check their length

0 commit comments

Comments
 (0)