Skip to content

A Claude Code skill bundle for bug hunting and external red-team work - 82 skills, 15 slash commands, 681 disclosed-report patterns curated across 24 core vulnerability classes, plus enterprise identity + infrastructure attack matrices.

chore(star-history): refresh daily instead of weekly + guard against truncated fetch (#62)

Sachin Sharmab89d7141427b
diff --git a/.github/workflows/star-history.yml b/.github/workflows/star-history.yml
index 3729ef1..94fa811 100644
--- a/.github/workflows/star-history.yml
+++ b/.github/workflows/star-history.yml
@@ -11,7 +11,7 @@ name: star-history
on:
schedule:
- - cron: "17 4 * * 1" # Mondays, 04:17 UTC
+ - cron: "17 4 * * *" # daily, 04:17 UTC
workflow_dispatch: # manual refresh
permissions:
diff --git a/README.md b/README.md
index d21dd41..8674057 100644
--- a/README.md
+++ b/README.md
@@ -125,7 +125,7 @@ pwsh ./scripts/install.ps1 -All -BurpMcp
</a>
<sub>Chart is self-hosted — regenerate with `python3 scripts/gen_star_history.py` (needs `gh auth login`).
-Refreshes automatically each Monday via `.github/workflows/star-history.yml`.</sub>
+Refreshes automatically each day via `.github/workflows/star-history.yml`.</sub>
---
diff --git a/scripts/gen_star_history.py b/scripts/gen_star_history.py
index f748345..0c4b3c7 100755
--- a/scripts/gen_star_history.py
+++ b/scripts/gen_star_history.py
@@ -43,6 +43,12 @@ def fetch_stars(repo):
"-H", "Accept: application/vnd.github.star+json", "--jq", ".[].starred_at"],
capture_output=True, text=True,
)
+ # Distinguish a real end-of-data (rc 0, empty array) from a transient
+ # failure (rate-limit / 5xx → rc != 0). Without this, a failed page
+ # looks like "no more stars" and we'd render+commit a truncated chart
+ # with a lower count. Abort instead, leaving the committed SVGs intact.
+ if out.returncode != 0:
+ sys.exit(f"stargazers fetch failed at page {page}: {out.stderr.strip()}")
got = [l for l in out.stdout.split("\n") if l.strip()]
if not got:
break