Skip to content

Commit 6b9a80a

Browse files
committed
fix(ci): Resolve workflow-linter self-matching and metadata issues
1 parent 03195bf commit 6b9a80a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/workflow-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
echo "=== Checking Action Pinning ==="
6464
# Find any uses: lines that don't have @SHA format
6565
# Pattern: uses: owner/repo@<40-char-hex>
66-
unpinned=$(grep -rn "uses:" .github/workflows/ | \
66+
unpinned=$(grep -rnE "^[[:space:]]+uses:" .github/workflows/ | \
6767
grep -v "@[a-f0-9]\{40\}" | \
6868
grep -v "uses: \./\|uses: docker://\|uses: actions/github-script" || true)
6969

0 commit comments

Comments
 (0)