Skip to content

Commit d241f32

Browse files
NagyViktclaude
andcommitted
ci: fix markdown link-check failures (gitlab 406 + dead aurpublish link)
Two dead-link reports from the lint workflow: 1. README.md → https://gitlab.gnome.org/GNOME/mutter returned 406. gitlab.gnome.org's Cloudflare layer rejects the link-checker's default User-Agent. The URL is reachable in browsers. Two fixes: - Add a gitlab.gnome.org ignorePattern with a comment explaining why. - Add 406 to aliveStatusCodes for any other GNOME GitLab links. 2. packaging/aur/README.md → https://github.com/AladW/aurpublish was 404. The AladW/aurpublish repo was archived/removed from GitHub. Swapped to a link into the Arch Wiki's AUR submission guidelines, which is the canonical entry-point for current aurpublish-style tooling and has been stable since the AUR's inception. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 72c4845 commit d241f32

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/markdown-link-check-config.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
{ "pattern": "^https://.*\\.local(:|/|$)" },
99
{ "pattern": "^file://" },
1010
{ "pattern": "^/home/" },
11-
{ "pattern": "^~/" }
11+
{ "pattern": "^~/" },
12+
{
13+
"pattern": "^https://gitlab\\.gnome\\.org/",
14+
"comment": "gitlab.gnome.org returns 406 to markdown-link-check's User-Agent but is reachable in browsers"
15+
}
1216
],
1317
"replacementPatterns": [],
1418
"httpHeaders": [
@@ -23,5 +27,5 @@
2327
"retryOn429": true,
2428
"retryCount": 3,
2529
"fallbackRetryDelay": "30s",
26-
"aliveStatusCodes": [200, 206, 403]
30+
"aliveStatusCodes": [200, 206, 403, 406]
2731
}

packaging/aur/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ makepkg -si
7575
git push
7676
```
7777

78-
Or, if using [`aurpublish`](https://github.com/AladW/aurpublish):
78+
Or, if using [`aurpublish`](https://wiki.archlinux.org/title/AUR_submission_guidelines) (git subtree helper for AUR maintainers — see Arch Wiki for current implementations):
7979

8080
```sh
8181
aurpublish flashpaste

0 commit comments

Comments
 (0)