Update lychee-action

This commit is contained in:
InCogNiTo124 2023-02-26 00:12:45 +01:00
parent 175ddadf2e
commit 055e7225b5

View File

@ -1,8 +1,8 @@
on: on:
repository_dispatch: repository_dispatch:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
- cron: "00 18 * * 0" - cron: "00 18 * * 0"
name: Check markdown links name: Check markdown links
jobs: jobs:
linkChecker: linkChecker:
@ -12,12 +12,14 @@ jobs:
- name: Link Checker - name: Link Checker
id: lychee id: lychee
uses: lycheeverse/lychee-action@v1.5.1 uses: lycheeverse/lychee-action@v1.6.1
with: with:
args: README.md args: README.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Issue From File - 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 uses: peter-evans/create-issue-from-file@v4
with: with:
title: "[Bot] Broken Links Report" title: "[Bot] Broken Links Report"