Skip to content

Commit

Permalink
Add a user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
khadni committed Feb 10, 2024
1 parent 17356cb commit eb651bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/external-links-checker-lychee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ jobs:
'/data/**/*.mdx' \
'/data/**/*.astro' \
'/data/**/*.html' \
--exclude '(^(file://)|http://127.0.0.1:\d+|http://localhost:\d+)' \
--exclude '(^(file://)|http://127.0.0.1:\d+|https://127.0.0.1:\d+|http://localhost:\d+|https://localhost:\d+)'
--accept '403, 429' \
--format markdown | tee -a $GITHUB_STEP_SUMMARY
--format markdown \
--user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3" | tee -a $GITHUB_STEP_SUMMARY
EXIT_CODE=${PIPESTATUS[0]}
echo "Exit code: $EXIT_CODE"
if [ "$EXIT_CODE" != "0" ]; then
Expand Down

0 comments on commit eb651bc

Please sign in to comment.