Repository navigation
ci(links): enforce local checks and monitor external links (#2162) - #2172
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2172 +/- ##
===========================================
- Coverage 84.69% 84.68% -0.02%
===========================================
Files 351 351
Lines 29657 29657
Branches 29657 29657
===========================================
- Hits 25119 25116 -3
- Misses 4184 4189 +5
+ Partials 354 352 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🔵 Needs a closer look
It changes CI/workflow behavior and introduces a scheduled workflow where final readiness depends on GitHub Actions/org allowlist and hosted-run validation outside the diff.
Pull request overview
This PR integrates deterministic offline Lychee link checking into the normal local/CI linting path via [email protected], and adds a separate advisory scheduled/manual workflow for online external-link monitoring with a retained report artifact.
Changes:
- Pin CI/setup linter installs to
[email protected], and run offline local-link checks vialinter lychee/linter all. - Add an advisory weekly +
workflow_dispatchexternal-link workflow using Lychee online with bounded request settings and report artifact retention. - Document external-link monitoring/triage and update badges/skills/docs to reflect the new link-checking setup.
File summaries
| File | Description |
|---|---|
| README.md | Adds workflow badge + references for the new external-link check. |
| project-words.txt | Adds a new dictionary word used in the workflow/link-checking context. |
| docs/testing.md | Documents advisory external-link monitoring workflow and triage procedure. |
| docs/issues/open/2162-enforce-lychee-and-schedule-external-link-checks/ISSUE.md | Updates issue spec progress, artifacts, and verification tracking for the work. |
| docs/issues/open/2162-enforce-lychee-and-schedule-external-link-checks/agent-review-reports.md | Adds a review report record for issue #2162 implementation evidence and pending items. |
| contrib/dev-tools/workflow-benchmarks/run-testing-baseline.sh | Pins the benchmark linter install to the released [email protected]. |
| AGENTS.md | Updates documented linting/tooling inventory to include lychee and lychee.toml. |
| .github/workflows/testing.yaml | Pins linter install to [email protected] and keeps linter all in the main CI path. |
| .github/workflows/external-link-check.yaml | Introduces scheduled/manual online external-link checks with report artifact upload. |
| .github/workflows/docs-lint.yaml | Pins linter install and runs linter lychee explicitly for docs-only validation. |
| .github/workflows/copilot-setup-steps.yml | Pins linter install to [email protected] for Copilot environment setup. |
| .github/skills/dev/maintenance/setup-dev-environment/SKILL.md | Updates setup instructions to install the pinned linter release. |
| .github/skills/dev/maintenance/install-linter/SKILL.md | Updates linter install instructions and documents lychee as an external dependency. |
| .github/skills/dev/git-workflow/run-pre-commit-checks/SKILL.md | Documents lychee inclusion in linter all and individual linter lychee usage. |
| .github/skills/dev/git-workflow/run-linters/SKILL.md | Documents linter lychee and updates references to include local link checking. |
| .github/skills/dev/git-workflow/run-linters/references/linters.md | Updates install guidance to pinned linter and documents lychee behavior/config. |
| .github/skills/dev/git-workflow/commit-changes/SKILL.md | Updates pre-commit step documentation to include lychee in linter all. |
| .github/lychee-online.toml | Adds bounded online Lychee configuration for the advisory external-link workflow. |
Review details
- Files reviewed: 18/18 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
ACK 35b144b |
|
Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: Its executable changes pin the linting tool to a released version in existing workflows and add a weekly, read-only advisory link check that does not gate merges; the rest is documentation. |
Summary
[email protected], whoselinter allnow includes deterministic offline Lychee validation.linter lycheeexplicitly in Docs Lint and retainlinter allin pre-commit and normal CI.Validation
TORRUST_GIT_HOOKS_LOG_DIR=.tmp ./contrib/dev-tools/git/hooks/pre-commit.shlinter lycheelinter alllinter yamlgit diff --checkFollow-up verification
The workflow is included in this PR so it can be manually dispatched from the branch. Its hosted run and artifact evidence will be recorded before merge.
developis currently unprotected, so the scheduled-only workflow cannot be a required branch-protection check.Closes #2162