Skip to content

Commit a98c143

Browse files
committed
fix comments
1 parent f2f0523 commit a98c143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
6262
if [ -n "$CHANGED_FILES" ]; then
6363
# Check for any versioned actions, excluding comments and this validation script
64-
VIOLATIONS=$(grep -Hn "uses:.*@v" $CHANGED_FILES | grep -v "grep.*uses:.*@v" | grep -v "^\s*#" || true)
64+
VIOLATIONS=$(grep -Hn "uses:.*@v" $CHANGED_FILES | grep -v "grep.*uses:.*@v" | grep -v "#.*@v" || true)
6565
if [ -n "$VIOLATIONS" ]; then
6666
echo "Found versioned GitHub actions. Use commit SHAs instead:"
6767
echo "$VIOLATIONS"

0 commit comments

Comments
 (0)