Skip to content

Commit 9ef102e

Browse files
authored
Fix 404 links and Automate Check using Lychee (#127)
* Fix 404 broken links and add automated link checker CI 1. Fixed dead links across the repository: - AdBypasser URLs migrating from github.io to the main github releases tab. - Codeberg discussions/issues pages that reported 404, pointing them strictly to their main repository URL. - GitHub discussions/issues tabs returning 404s, standardizing them to point correctly toward current Issues pages. 2. Added Lychee link checker GitHub Action to prevent link rot going forward. * Fix syntax in GitHub Action for Lychee * Add workflow permissions and exclude ghostbrowser.com from lychee checks to prevent timeout errors
1 parent 6fc7e04 commit 9ef102e

File tree

2 files changed

+37
-10
lines changed

2 files changed

+37
-10
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Link Checker
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
lychee:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
21+
- name: Check links
22+
uses: lycheeverse/lychee-action@v2
23+
with:
24+
# Check all markdown files, but ignore local fragments and common anti-bot/rate-limited endpoints
25+
args: --verbose --no-progress --max-retries 3 --accept 200..299,300..399,403,429 --exclude "googlegpt\.io" --exclude "ghostbrowser\.com" "*.md" "**/*.md"
26+
env:
27+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

β€ŽREADME.mdβ€Ž

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -522,9 +522,9 @@ Userscripts can be used w/ the following browsers:
522522
<img width=511 src="https://cdn.jsdelivr.net/gh/awesome-scripts/awesome-userscripts@00884ad/assets/images/screenshots/scripts/adsbypasser.png"></a>
523523
</blockquote>
524524
<blockquote>
525-
πŸ’Ύ <a href="https://adsbypasser.github.io/releases/adsbypasser.full.es7.user.js">
525+
πŸ’Ύ <a href="https://github.com/adsbypasser/adsbypasser/releases/latest/download/adsbypasser.full.user.js">
526526
Install Full Edition</a> /
527-
πŸ’Ύ <a href="https://adsbypasser.github.io/releases/adsbypasser.lite.es7.user.js">
527+
πŸ’Ύ <a href="https://github.com/adsbypasser/adsbypasser/releases/latest/download/adsbypasser.lite.user.js">
528528
Install Lite Edition</a> /
529529
πŸ“– <a href="https://github.com/adsbypasser/adsbypasser/#readme">
530530
Readme</a> /
@@ -582,9 +582,9 @@ Userscripts can be used w/ the following browsers:
582582
Install</a> /
583583
πŸ“– <a href="https://greasyfork.org/scripts/453320-simple-sponsor-skipper">
584584
Readme</a> /
585-
πŸ“’ <a href="https://codeberg.org/mthsk/userscripts/issues">
585+
πŸ“’ <a href="https://codeberg.org/mthsk/userscripts">
586586
Discuss</a> /
587-
πŸ› <a href="https://codeberg.org/mthsk/userscripts/issues">
587+
πŸ› <a href="https://codeberg.org/mthsk/userscripts">
588588
Report bug</a>
589589
</blockquote>
590590
</details>
@@ -977,7 +977,7 @@ Userscripts can be used w/ the following browsers:
977977
Install</a> /
978978
πŸ“– <a href="https://github.com/nazdridoy/github-commit-labels/#readme">
979979
Readme</a> /
980-
πŸ“’ <a href="https://github.com/nazdridoy/github-commit-labels/discussions">
980+
πŸ“’ <a href="https://github.com/nazdridoy/github-commit-labels/issues">
981981
Discuss</a> /
982982
πŸ› <a href="https://github.com/nazdridoy/github-commit-labels/issues">
983983
Report bug</a>
@@ -1157,7 +1157,7 @@ Userscripts can be used w/ the following browsers:
11571157
Install</a> /
11581158
πŸ“– <a href="https://github.com/LostInBrittany/share-google-slides-control/#readme">
11591159
Readme</a> /
1160-
πŸ“’ <a href="https://github.com/LostInBrittany/share-google-slides-control/discussions">
1160+
πŸ“’ <a href="https://github.com/LostInBrittany/share-google-slides-control/issues">
11611161
Discuss</a> /
11621162
πŸ› <a href="https://github.com/LostInBrittany/share-google-slides-control/issues">
11631163
Report bug</a>
@@ -1217,7 +1217,7 @@ Userscripts can be used w/ the following browsers:
12171217
Install</a> /
12181218
πŸ“– <a href="https://github.com/eight04/linkify-plus-plus/#readme">
12191219
Readme</a> /
1220-
πŸ“’ <a href="https://github.com/eight04/linkify-plus-plus/discussions">
1220+
πŸ“’ <a href="https://github.com/eight04/linkify-plus-plus/issues">
12211221
Discuss</a> /
12221222
πŸ› <a href="https://github.com/eight04/linkify-plus-plus/issues">
12231223
Report bug</a>
@@ -1586,9 +1586,9 @@ Userscripts can be used w/ the following browsers:
15861586
Install</a> /
15871587
πŸ“– <a href="https://greasyfork.org/scripts/453320-simple-sponsor-skipper">
15881588
Readme</a> /
1589-
πŸ“’ <a href="https://codeberg.org/mthsk/userscripts/issues">
1589+
πŸ“’ <a href="https://codeberg.org/mthsk/userscripts">
15901590
Discuss</a> /
1591-
πŸ› <a href="https://codeberg.org/mthsk/userscripts/issues">
1591+
πŸ› <a href="https://codeberg.org/mthsk/userscripts">
15921592
Report bug</a>
15931593
</blockquote>
15941594
</details>
@@ -1673,7 +1673,7 @@ Userscripts can be used w/ the following browsers:
16731673
Install</a> /
16741674
πŸ“– <a href="https://github.com/RobertWesner/YouTube-Play-All/#readme">
16751675
Readme</a> /
1676-
πŸ“’ <a href="https://github.com/RobertWesner/YouTube-Play-All/discussions">
1676+
πŸ“’ <a href="https://github.com/RobertWesner/YouTube-Play-All/issues">
16771677
Discuss</a> /
16781678
πŸ› <a href="https://github.com/RobertWesner/YouTube-Play-All/issues">
16791679
Report bug</a>

0 commit comments

Comments
Β (0)