Repository navigation
Conversation
Add a weekly workflow that checks external links in docs/, Discord invites, GitHub repositories, and redirects. It keeps one rolling issue up to date and never fails the build. A manifest lists the Discord invites and canonical repositories that the docs depend on. The Check Routes Removal workflow now fails a PR that removes a route without a redirect. Closes #2883
Contributor
Author
|
/triage |
Contributor
Contributor
|
🤖 Automated message from the Stellar Triage Bot. Reviewing because @kaankacar asked with /triage. This PR adds and changes CI workflows, so a maintainer must review and merge it. The scripts, checks and Discord guild ID verify clean. Open choices: the weekly cadence, and whether the redirect gate blocks merges. @kaankacar @ElliotFriend |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2883
What
.github/workflows/link-health.yml: a weekly run (Mondays 06:23 UTC) and a manual run. It checks:docs/with lychee (.github/link-health/lychee.toml),scripts/link-health/pointers.mjs),scripts/link-health/redirects.mjs).It never fails the build. It keeps one rolling issue with the
link-healthlabel. It creates or updates the issue when it finds problems, and closes it when all checks pass. A PR that changes these files gets a dry run with no issue writes..github/link-health/pointers.json: the pointers that the docs depend on. It lists Discord invites with the server that each one must open (stellardevopens Stellar Developers), the retireddiscord.gg/stellar(Stale Discord invite: discord.gg/stellar now resolves to an unrelated server #2797), and canonical repositories..github/workflows/check-routes-removal.yml: fails a PR that removes a route without a redirect, or that adds a redirect to a page that does not exist. It now also runs whennginx/includes/redirects.confchanges.CONTRIBUTING.md: short notes on both checks.Verification
node --test 'scripts/link-health/*.test.mjs').fa5f03b2(Move SDEX to Fundamentals #1637), the commit that dropped the SDEX route without a redirect. It passes on the fix in fix some nginx redirects for the liquidity pool and SDEX URLs #2858.main:stellar/soroban-cliandtheahaco/scaffold-stellar.network-configurationfederation.actionlintpasses on both workflows. In a read-only dry run, the issue step plans "create".Notes