[Request]: Link checking in CI

Offen
#116 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
github-actions, hugo
Bereich
ci-cd

Rechercherichtung

Start by locating the repository’s existing CI configuration and reviewing the Hugo link-checking actions available on the marketplace, since the issue does not select one. Done means CI checks for broken links, including local links, and reports failures for human review.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Is this the right place?
What change or feature would you like to request?

As #114 shows, and as discussed by me and Val previously, it's pretty easy to make a bad link, such as missing the / before a local link. It would be a good idea to have the CI run an action to check for links that are broken. It'll also help pick up things we link to that disappear.

There are various options for hugo on the marketplace. I don't know which one is best.

Why is this needed.

While they can false positive if GitHub is having its regular performance issues, a failed run at least prompts a human to check before merging.

Vorherrschende Sprache
CSS
Sterne
5
Forks
23
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus codemeta/codemeta.github.io

Alle Issues in codemeta/codemeta.github.io

Ähnliche Issues

Weitere Issues zu DevOps

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.