From 6fe49692217b94af429bf76fc484da631e853c6f Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 20 Jun 2024 11:06:20 +0800 Subject: [PATCH] CI: Remove the deprecated lychee option and specify the output file path in the Check Links workflow --- .github/workflows/check-links.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 70727b02a0c..7268d8a0af4 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -37,10 +37,10 @@ jobs: id: lychee uses: lycheeverse/lychee-action@v1.10.0 with: + output: /tmp/lychee-out.md # 429: Too many requests args: > --accept 429 - --exclude-mail --exclude "^https://doi.org/10.5281/zenodo$" --exclude "^https://zenodo.org/badge/DOI/$" --exclude "^https://zenodo.org/badge/DOI/10.5281/zenodo$" @@ -71,6 +71,6 @@ jobs: run: | cd repository/ title="Link Checker Report on ${{ steps.date.outputs.date }}" - gh issue create --title "$title" --body-file ./lychee/out.md + gh issue create --title "$title" --body-file /tmp/lychee-out.md env: GH_TOKEN: ${{ github.token }}