21 Commits

Author SHA1 Message Date
github-actions[bot]
4a680a837c chore(link-rot): update sweep state [skip ci] 2026-10-12 07:21:58 +00:00
github-actions[bot]
0a64ff9661 chore(link-rot): update sweep state [skip ci] 2026-10-05 07:20:18 +00:00
github-actions[bot]
a3a2cc5a57 chore(link-rot): update sweep state [skip ci] 2026-09-28 07:15:19 +00:00
github-actions[bot]
6117a66c91 chore(link-rot): update sweep state [skip ci] 2026-09-21 07:11:05 +00:00
github-actions[bot]
fcd321e0cf chore(link-rot): update sweep state [skip ci] 2026-09-14 07:10:01 +00:00
github-actions[bot]
f5fb43039f chore(link-rot): update sweep state [skip ci] 2026-09-07 07:08:59 +00:00
github-actions[bot]
39aff33325 chore(link-rot): update sweep state [skip ci] 2026-08-31 07:08:01 +00:00
github-actions[bot]
c22f8183bc chore(link-rot): update sweep state [skip ci] 2026-08-24 07:38:48 +00:00
github-actions[bot]
66ec84b3d8 chore(link-rot): update sweep state [skip ci] 2026-08-17 06:46:44 +00:00
github-actions[bot]
91454fa91a chore(link-rot): update sweep state [skip ci] 2026-08-10 07:04:20 +00:00
github-actions[bot]
694dec1322 chore(link-rot): update sweep state [skip ci] 2026-08-03 07:45:08 +00:00
github-actions[bot]
1febb5232e chore(link-rot): update sweep state [skip ci] 2026-07-27 07:45:21 +00:00
github-actions[bot]
3645dbc88b chore(link-rot): update sweep state [skip ci] 2026-07-20 07:41:24 +00:00
github-actions[bot]
1b7d87e54d chore(link-rot): update sweep state [skip ci] 2026-07-13 10:06:11 +00:00
github-actions[bot]
e4dd44b3b2 chore(link-rot): update sweep state [skip ci] 2026-07-06 11:21:25 +00:00
Tu Tran
e7b5530c4c Auto-fix confirmed-dead and moved links via a bot-opened PR
Closes the loop on the link-rot sweep: previously it only ever produced a
report, leaving every fix to be typed by hand. Adds a `prune` subcommand
that applies only the two categories safe enough to fix without a human
judgment call:
- entries HARD_DEAD for 2+ consecutive weekly checks with no known redirect
  -> remove the line (cascading to remove a now-empty series title too)
- entries that now redirect to a different working URL -> rewrite in place

Suspect links, secondary/prose links, and anything matching more than one
entry are left untouched for the existing manual report flow.

link-rot.yml now runs `prune` after the sweep and, if anything changed,
opens or updates a single PR from a dedicated automated/link-rot-fixes
branch (same upsert pattern as the report issue -- one running PR, not a
new one weekly). It still requires a human merge; nothing auto-lands.

Also surfaces "moved" links in the report for the first time -- previously
an OK-but-redirected URL never appeared anywhere.
2026-07-04 11:41:25 -07:00
github-actions[bot]
b63b36ad91 chore(link-rot): update sweep state [skip ci] 2026-07-04 08:01:34 +00:00
Tu Tran
30badb256c Rebuild maintenance automation on GitHub Actions (README-as-data CI)
The old automation was entirely dead: .travis.yml ran awesome_bot on Travis
OSS (shut down), and .github/stale.yml targeted a defunct probot integration.
Result: dozens of dead links, years-old broken-link issues, and duplicate PRs
fixing the same link.

Adds scripts/check_readme.py, a stdlib-only Python validator that parses
README.md as structured data (grammar shared by every subcommand so lint/PR
checks/the weekly sweep can't drift apart):
- `lint`: whole-file grammar, duplicate-URL, and Table of Contents checks
- `check-diff`: flags only PR-added lines (shorteners, new http://, malformed
  entries) so pre-existing link rot can't fail unrelated PRs
- `check-links`: liveness-checks URLs with a 2-strike state machine, treating
  bot-hostile domains (Medium, Reddit, etc.) as BLOCKED rather than dead
- `report`: renders the weekly link-rot issue body

Wires this up via three workflows: validate-pr.yml (fork-safe PR gate),
link-rot.yml (weekly sweep, maintains one consolidated issue instead of
scattered reports), and stale-prs.yml (PRs only -- issues are explicitly
exempted, unlike the old probot config that buried broken-link reports).

Also replaces the generic issue/PR templates with ones that match what the
validator actually enforces, and fixes CONTRIBUTING.md's `*`-bullet examples
(the real source of format drift) to `-`.
2026-07-04 00:31:29 -07:00
Norbert Klar
ce762032c1
added labels (#323)
Stalebot will never consider an issue/PR stale with these added labels.
2021-09-02 10:20:53 +02:00
Norbert Klar
674712e186 prep for stalebot 2021-08-27 12:25:07 +02:00
Andrew Miracle
f8ff4b0418 add Github Template Files that will enable Contributors Communicate Intentions better 2018-11-02 07:50:26 +01:00