Skip to content

Commit 2a96a09

Browse files
Review SCM files and security updates (#60)
- Fixed security-policy.yml: Changed regex from 'https://' to 'http://' to properly detect insecure URLs (was checking for secure URLs instead) - Pinned trufflesecurity/trufflehog to v3.88.1 instead of @main - Pinned editorconfig-checker to @v2 instead of @main Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5a7d4e7 commit 2a96a09

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
find . -type f -perm /111 -name "*.sh" | head -10 || true
1313
1414
- name: Check for secrets
15-
uses: trufflesecurity/trufflehog@main
15+
uses: trufflesecurity/trufflehog@v3.88.1
1616
with:
1717
path: ./
1818
base: ${{ github.event.pull_request.base.sha || github.event.before }}
@@ -29,7 +29,7 @@ jobs:
2929
find . -type f -size +1M -not -path "./.git/*" | head -10 || echo "No large files"
3030
3131
- name: EditorConfig check
32-
uses: editorconfig-checker/action-editorconfig-checker@main
32+
uses: editorconfig-checker/action-editorconfig-checker@v2
3333
continue-on-error: true
3434

3535
docs:

.github/workflows/security-policy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fi
1818
1919
# Block HTTP URLs (except localhost)
20-
HTTP_URLS=$(grep -rE 'https://[^l][^o][^c]' --include="*.py" --include="*.js" --include="*.ts" --include="*.go" --include="*.rs" --include="*.yaml" --include="*.yml" . 2>/dev/null | grep -v 'localhost\|127.0.0.1\|example\|test\|spec' | head -5 || true)
20+
HTTP_URLS=$(grep -rE 'http://[^l][^o][^c]' --include="*.py" --include="*.js" --include="*.ts" --include="*.go" --include="*.rs" --include="*.yaml" --include="*.yml" . 2>/dev/null | grep -v 'localhost\|127.0.0.1\|example\|test\|spec' | head -5 || true)
2121
if [ -n "$HTTP_URLS" ]; then
2222
echo "⚠️ HTTP URLs found. Use HTTPS:"
2323
echo "$HTTP_URLS"

0 commit comments

Comments
 (0)