Skip to content

Validate and update links (STF-557)#102

Merged
horgh merged 3 commits into
mainfrom
greg/stf-557
Jun 5, 2026
Merged

Validate and update links (STF-557)#102
horgh merged 3 commits into
mainfrom
greg/stf-557

Conversation

@oschwald

@oschwald oschwald commented Jun 4, 2026

Copy link
Copy Markdown
Member

Adds a lychee link checker (config + Links GitHub Actions workflow) and fixes the one stale/redirecting link found in the repo.

Tooling

  • lychee.toml: max_redirects = 0 (surfaces moved links) and the standard MaxMind accept list (incl. 500..=599). Go globs './**/*.md' './**/*.go'; excludes (^|/)vendor/ and (^|/)CHANGELOG.md$.
  • lychee pinned to 0.23.0 in mise.toml and locked across all platforms in mise.lock; run via the check-links mise task locally and in CI.
  • .github/workflows/links.yml: mise-based workflow (install: false + MISE_AUTO_INSTALL: false) so only lychee is installed in CI, on push/PR/weekly/manual.
  • .lycheecache added to .gitignore.

Links changed (old -> new)

  • README.md GoDoc badge image: https://godoc.org/github.com/maxmind/xgbshap?status.png (301 redirect) -> https://pkg.go.dev/badge/github.com/maxmind/xgbshap.svg

Final lychee run: 6 total, 5 OK, 0 errors, 1 excluded.

Part of STF-557.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

Modver result

This report was generated by Modver,
a Go package and command that helps you obey semantic versioning rules in your Go module.

This PR does not require a change in your module’s version number.
(You might still consider bumping the patchlevel anyway.)

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

oschwald and others added 3 commits June 4, 2026 22:01
Adds a lychee configuration and a Links GitHub Actions workflow so that
stale or redirecting links are caught automatically going forward. The
checker runs on push, pull request, and weekly to catch external link
rot. max_redirects is 0 so links that have moved are surfaced and can be
updated to their canonical destination.

lychee is installed via mise (pinned to 0.23.0 in mise.toml/mise.lock)
and run via the check-links task, both locally and in CI.

Part of STF-557.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Validated all links with lychee and updated the one that redirected:

- README.md GoDoc badge: godoc.org/github.com/maxmind/xgbshap?status.png
  (301 -> pkg.go.dev) replaced with the canonical pkg.go.dev badge
  https://pkg.go.dev/badge/github.com/maxmind/xgbshap.svg

Part of STF-557.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Resolves zizmor ref-version-mismatch warnings on hash-pinned actions whose
version comments omitted the leading v (the pinned commits already match the
corresponding vX.Y.Z tags). Comment-only change.

Part of STF-557.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@horgh horgh merged commit 8310a18 into main Jun 5, 2026
23 checks passed
@horgh horgh deleted the greg/stf-557 branch June 5, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants