From 69a6f4524f197b81c928aaa77c3c51f8882bf803 Mon Sep 17 00:00:00 2001 From: Petr Ruzicka Date: Sun, 18 Feb 2024 09:43:06 +0100 Subject: [PATCH] feat(gh): add default GitHub repo files (#151) --- .github/workflows/links.yml | 4 ++-- lychee.toml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) 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