Skip to content

Commit afb9631

Browse files
committed
Add workflow permissions and exclude ghostbrowser.com from lychee checks to prevent timeout errors
1 parent bfe10c5 commit afb9631

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/link-checker.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- master
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
lychee:
1316
runs-on: ubuntu-latest
@@ -19,6 +22,6 @@ jobs:
1922
uses: lycheeverse/lychee-action@v2
2023
with:
2124
# Check all markdown files, but ignore local fragments and common anti-bot/rate-limited endpoints
22-
args: --verbose --no-progress --max-retries 3 --accept 200..299,300..399,403,429 --exclude "googlegpt\.io" "*.md" "**/*.md"
25+
args: --verbose --no-progress --max-retries 3 --accept 200..299,300..399,403,429 --exclude "googlegpt\.io" --exclude "ghostbrowser\.com" "*.md" "**/*.md"
2326
env:
2427
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)