Update link-checker.yml

This commit is contained in:
Chuck 2022-08-22 14:21:14 -04:00 committed by GitHub
parent 62465f811f
commit c79aab6309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,13 +8,17 @@ jobs:
linkChecker: linkChecker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Link Checker - name: Link Checker
uses: lycheeverse/lychee-action@v1.4.1 id: lychee
uses: lycheeverse/lychee-action@v1.5.1
with: with:
args: README.md args: README.md
- name: Create Issue From File - name: Create Issue From File
uses: peter-evans/create-issue-from-file@v2 if: steps.lychee.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with: with:
title: "[Bot] Broken Links Report" title: "[Bot] Broken Links Report"
content-filepath: ./lychee/out.md content-filepath: ./lychee/out.md