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 f2f0523 commit a98c143Copy full SHA for a98c143
.github/workflows/pr-build.yml
@@ -61,7 +61,7 @@ jobs:
61
62
if [ -n "$CHANGED_FILES" ]; then
63
# 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)
+ VIOLATIONS=$(grep -Hn "uses:.*@v" $CHANGED_FILES | grep -v "grep.*uses:.*@v" | grep -v "#.*@v" || true)
65
if [ -n "$VIOLATIONS" ]; then
66
echo "Found versioned GitHub actions. Use commit SHAs instead:"
67
echo "$VIOLATIONS"
0 commit comments