2021-10-11 11:15:05 +00:00
|
|
|
name: lychee
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 1 * *'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
links:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2.3.4
|
2023-01-10 14:53:15 +00:00
|
|
|
|
2021-10-11 11:15:05 +00:00
|
|
|
- name: Link Checker
|
|
|
|
uses: lycheeverse/lychee-action@master
|
|
|
|
#env:
|
|
|
|
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
|
|
with:
|
2022-05-10 03:14:36 +00:00
|
|
|
args: --verbose --max-retries 4 --no-progress '**/*.md'
|
2021-10-11 11:15:05 +00:00
|
|
|
|
|
|
|
- name: Create Issue From File
|
2023-01-10 14:53:15 +00:00
|
|
|
uses: peter-evans/create-issue-from-file@v4
|
2021-10-11 11:15:05 +00:00
|
|
|
with:
|
|
|
|
title: Link Checker Report
|
|
|
|
content-filepath: ./lychee/out.md
|
|
|
|
labels: report, automated issue
|