Skip to content

Commit

Permalink
chore(ci): update the link checker configuration (#315)
Browse files Browse the repository at this point in the history
* chore(lychee): update link checker configuration

* refactor(ci): provide GitHub token

* refactor(ci): set a custom GitHub token

* fix(ci): set concurrency for checking links

* chore(ci): ignore more sites for lychee

* chore(ci): update lychee ignore list

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
orhun and mergify[bot] committed Oct 14, 2023
1 parent 13f08b7 commit 32cbea8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Dockerfile
LICENSE
rustfmt.toml
_config.yml
.lycheeignore
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,9 @@ jobs:
- name: Check the links
uses: lycheeverse/lychee-action@v1
with:
args: >
--exclude "%7Busername%7D|file:///|https://datatracker.ietf.org|protonmail"
-v *.md website/docs/* website/blog/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
args: -v --max-concurrency 1 *.md website/docs/* website/blog/*
fail: true
token: ${{ secrets.GITHUB_TOKEN }}

audit:
name: Audit check
Expand Down
7 changes: 7 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
file:///
%7Busername%7D
https://datatracker.ietf.org
protonmail
https://github.com/cocogitto/cocogitto
pypi.org
https://console.substack.com

0 comments on commit 32cbea8

Please sign in to comment.