mirror of
https://github.com/clearml/clearml-docs
synced 2025-02-07 05:20:07 +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:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Find all markdown files
|
||||||
|
id: find_files
|
||||||
|
run: echo '::set-output files=$(find . -name "*.md")'
|
||||||
|
|
||||||
- name: Link Checker
|
- name: Link Checker
|
||||||
id: lychee
|
id: lychee
|
||||||
uses: lycheeverse/lychee-action@v1.2.0
|
uses: lycheeverse/lychee-action@v1.2.0
|
||||||
|
with:
|
||||||
|
args: --verbose --no-progress ${{steps.find_files.outputs.files}}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
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