diff --git a/.github/workflows/markdown-checker.yml b/.github/workflows/markdown-checker.yml index 41a1fd71bc..7c02221c53 100644 --- a/.github/workflows/markdown-checker.yml +++ b/.github/workflows/markdown-checker.yml @@ -25,7 +25,6 @@ jobs: name: Check Dead Links runs-on: ubuntu-latest permissions: - contents: read pull-requests: write env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -47,7 +46,6 @@ jobs: uses: lycheeverse/lychee-action@v2 with: # 仅检查内部链接和 Github 相关链接 - token: ${{ secrets.GITHUB_TOKEN }} args: > --verbose --no-progress --cache --max-cache-age 1d --cache-exclude-status '429, 500..599'