Update links.yml

This commit is contained in:
Jake Henning 2021-12-27 19:12:35 +02:00 committed by GitHub
parent 16ffa620b6
commit 4ac2aa3193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,16 +22,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Find all markdown files
id: find_files
run: echo '::set-output files=$(find . -name "*.md")'
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.2.0
with:
args: --verbose --no-progress ${{steps.find_files.outputs.files}}
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Create Issue From File
if: ${{ steps.lychee.outputs.exit_code != 0 }}
uses: peter-evans/create-issue-from-file@v3
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue