From 56f2b35ea7aba8a3ad9398e9fd776b67d805eb73 Mon Sep 17 00:00:00 2001 From: Constrat <56174894+Constrat@users.noreply.github.com> Date: Tue, 6 May 2025 11:20:27 +0200 Subject: [PATCH] ci: try with action token: [skip changelog] --- .github/workflows/markdown-checker.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/markdown-checker.yml b/.github/workflows/markdown-checker.yml index f19ce12584..41a1fd71bc 100644 --- a/.github/workflows/markdown-checker.yml +++ b/.github/workflows/markdown-checker.yml @@ -47,8 +47,9 @@ jobs: uses: lycheeverse/lychee-action@v2 with: # 仅检查内部链接和 Github 相关链接 + token: ${{ secrets.GITHUB_TOKEN }} args: > - --verbose --no-progress --github-token ${{ secrets.GITHUB_TOKEN }} + --verbose --no-progress --cache --max-cache-age 1d --cache-exclude-status '429, 500..599' --exclude 'https?://.*' --include 'https?://github\.com/.*' @@ -58,8 +59,6 @@ jobs: --exclude-path 'docs/ja-jp/manual/introduction/introduction_old.md' --exclude 'files/MAA_Runtime_Fix_Pwsh.ps1$' -- './docs/**/*.md' './README.md' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Comment (only for PR) if: failure() && github.event_name == 'pull_request'