From 83e9e02a8593df03966229ae914aee34678976a2 Mon Sep 17 00:00:00 2001 From: JuanPabloDiaz Date: Fri, 5 Jul 2024 16:41:56 -0400 Subject: [PATCH] broken links --- .github/workflows/check_links.yaml | 10 ++++++++-- .lycheeignore | 3 +++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_links.yaml b/.github/workflows/check_links.yaml index b7518952a..d71b65eba 100644 --- a/.github/workflows/check_links.yaml +++ b/.github/workflows/check_links.yaml @@ -3,7 +3,12 @@ name: Check links on: pull_request: branches: - - test # Change this to the branch to main later + - test + push: + paths: + - '.github/workflows/check_links.yaml' + - '.lycheeignore' + - '**/*.md' workflow_dispatch: # schedule: # - cron: '30 12 * * 1-5' @@ -30,7 +35,8 @@ jobs: uses: lycheeverse/lychee-action@v1.10.0 with: fail: true - args: --verbose --no-progress './**/*.json' --exclude-mail + # args: --verbose --no-progress './**/*.json' --exclude-mail + args: --accept '200,201,202,203,204,403,429,500' --max-concurrency 1 --cache --no-progress --exclude-all-private './**/*.md' output: ${{ env.issue-content }} # Permissions (issues: read) diff --git a/.lycheeignore b/.lycheeignore index 4bcaf9f47..def2bbdcf 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -1,3 +1,6 @@ + + + https://github.com/JuanPabloDiaz/LinksHub https://github.com/JuanPabloDiaz/LinksHub/pull https://github.com/JuanPabloDiaz/LinksHub/issue