diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index 3d1faca..dbbec9d 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -1,8 +1,8 @@ on: - repository_dispatch: - workflow_dispatch: - schedule: - - cron: "00 18 * * 0" + repository_dispatch: + workflow_dispatch: + schedule: + - cron: "00 18 * * 0" name: Check markdown links jobs: linkChecker: @@ -12,12 +12,14 @@ jobs: - name: Link Checker id: lychee - uses: lycheeverse/lychee-action@v1.5.1 + uses: lycheeverse/lychee-action@v1.6.1 with: - args: README.md + args: README.md + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create Issue From File - if: steps.lychee.outputs.exit_code != 0 + if: env.lychee_exit_code != 0 uses: peter-evans/create-issue-from-file@v4 with: title: "[Bot] Broken Links Report"