From f16ec1b712b2d92b3762a5bc9f2e2fb9297dd782 Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Wed, 23 Jun 2021 13:02:20 -0700 Subject: [PATCH] Add github token in link checker Signed-off-by: Joshua Li --- .github/workflows/link-checker.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index 65c86ca..5e6fd39 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -17,6 +17,8 @@ jobs: uses: lycheeverse/lychee-action@master with: args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Fail if there were link errors run: exit ${{ steps.lychee.outputs.exit_code }}