Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

chore(deps): align TruffleHog action and scanner at 3.99.2 (#1302)

dependabot[bot]40d7883466b2
diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml
index a58bdaf5..9ca0acfd 100644
--- a/.github/workflows/security.yml
+++ b/.github/workflows/security.yml
@@ -59,9 +59,9 @@ jobs:
# verified secrets. Keep output limited to verified findings to avoid noisy
# unverified annotations.
- name: Run TruffleHog OSS secret scan
- uses: trufflesecurity/trufflehog@4dd8831c5f12599465d4d45c3c447b4018a34c85 # v3.97.9
+ uses: trufflesecurity/trufflehog@e76dff8a7e57d6df0c60ad8cbf5d5cba505a8fc9 # v3.99.2
with:
- version: 3.97.1
+ version: 3.99.2
extra_args: --results=verified
sast-scan:
@@ -86,4 +86,4 @@ jobs:
continue-on-error: true
env:
SEMGREP_SEND_METRICS: off
- run: semgrep scan --config=auto
+ run: semgrep scan --config=p/default
diff --git a/tests/test_security_workflow.py b/tests/test_security_workflow.py
index 91c700d8..1ee22393 100644
--- a/tests/test_security_workflow.py
+++ b/tests/test_security_workflow.py
@@ -1,3 +1,4 @@
+import re
from pathlib import Path
@@ -35,7 +36,12 @@ def test_security_workflow_runs_secret_scan_for_pull_requests_and_main_pushes()
assert "workflow_dispatch:" in text
assert "branches:\n - main" in text
assert "trufflesecurity/trufflehog" in secret_scan_job
- assert "version: 3.97.1" in secret_scan_job
+ action_release = re.search(
+ r"uses: trufflesecurity/trufflehog@[0-9a-f]{40} # v(\d+\.\d+\.\d+)",
+ secret_scan_job,
+ )
+ assert action_release is not None
+ assert f"version: {action_release.group(1)}" in secret_scan_job
assert "extra_args: --results=verified" in secret_scan_job
assert "continue-on-error: true" not in secret_scan_job
assert "if: github.event_name" not in secret_scan_job
@@ -47,7 +53,7 @@ def test_security_workflow_runs_sast_without_unused_code_scanning_permission() -
sast_job = text.split("sast-scan:", 1)[1]
assert "semgrep/semgrep@sha256:" in sast_job
- assert "semgrep scan --config=auto" in sast_job
+ assert "semgrep scan --config=p/default" in sast_job
assert "SEMGREP_SEND_METRICS: off" in sast_job
assert "continue-on-error: true" in sast_job
assert "contents: read" in sast_job