mirror of
https://github.com/clearml/clearml-docs
synced 2025-01-30 22:18:02 +00:00
Update links.yml
This commit is contained in:
parent
16ffa620b6
commit
4ac2aa3193
14
.github/workflows/links.yml
vendored
14
.github/workflows/links.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user