diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index e87a462..95a76fd 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -8,7 +8,7 @@ on: - .github/workflows/links.yml - lychee.toml schedule: - - cron: "0 0 * * 1" + - cron: "0 0 * * 2" permissions: read-all @@ -35,5 +35,5 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} uses: lycheeverse/lychee-action@c053181aa0c3d17606addfe97a9075a32723548a # v1.9.3 with: - args: ". --exclude-path CHANGELOG.md ${{ steps.pages.outputs.base_url }}" + args: ". ${{ steps.pages.outputs.base_url }}" fail: true diff --git a/lychee.toml b/lychee.toml index 7fd4af5..f48df19 100644 --- a/lychee.toml +++ b/lychee.toml @@ -23,6 +23,9 @@ accept = [999] # Exclude URLs and mail addresses from checking (supports regex) exclude = [ + # returns 403 when accessed from GitHub Action + 'stackoverflow\.com', + 'stackexchange\.com', # Ignore all URLs with '$' - BASH variable in URL '\$', # Ignore all URLs with '{ ... }' - BASH / Ansible variable in URL