AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
Python ai-promptsai-skillblueskyclaudeclaude-codeclawhubdeep-researchhackernewsinstagramopenclawpolymarketrecencyredditresearchsocial-mediatiktoktrendstwitterweb-searchyoutube
fix(ci): scan export-ignored workflows with Scorecard (#1307)
Ilia Alshanetsky0fd1612f0f73
diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.ymlindex 213e18f0..def4442d 100644--- a/.github/workflows/scorecard.yml+++ b/.github/workflows/scorecard.yml@@ -50,6 +50,8 @@ jobs:with:results_file: scorecard.sarifresults_format: sarif+ # Archives omit .github/ via export-ignore, hiding workflows from checks.+ file_mode: git# Publishes results to the OpenSSF REST API for the public badge and# trend tracking. Set to false if maintainers prefer to keep the# score private (the SARIF upload below still works either way).diff --git a/tests/test_scorecard_workflow.py b/tests/test_scorecard_workflow.pyindex b861a56e..718c3c80 100644--- a/tests/test_scorecard_workflow.py+++ b/tests/test_scorecard_workflow.py@@ -1,5 +1,7 @@from pathlib import Path+import yaml+ROOT = Path(__file__).resolve().parents[1]WORKFLOW = ROOT / ".github" / "workflows" / "scorecard.yml"@@ -21,6 +23,18 @@ def test_scorecard_runs_ossf_action_and_uploads_sarif() -> None:assert "results_format: sarif" in text+def test_scorecard_reads_workflows_excluded_from_archives() -> None:+ workflow = yaml.safe_load(_workflow_text())+ scorecard_steps = [+ step+ for step in workflow["jobs"]["analysis"]["steps"]+ if step.get("uses", "").split("@")[0] == "ossf/scorecard-action"+ ]++ assert len(scorecard_steps) == 1+ assert scorecard_steps[0]["with"].get("file_mode") == "git"++def test_scorecard_runs_on_schedule_and_default_branch() -> None:text = _workflow_text()