Created
April 21, 2022 08:17
-
-
Save doitian/4238199d1632398a4b796e935eec7251 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lychee | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: '0 0 1 * *' | |
jobs: | |
links: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache .lycheecache | |
id: cache-lychee | |
uses: actions/cache@v3 | |
with: | |
path: .lycheecache | |
key: lychee | |
- name: Link Checker | |
uses: lycheeverse/lychee-action@master | |
env: | |
GITHUB_TOKEN: ${{secrets.LYCHEE_PAT}} | |
with: | |
args: '--verbose --exclude-private --exclude-loopback --cache -a "403,429" --max-concurrency 64 --max-retries 4 --no-progress "**/*.md"' | |
- name: Create Issue From File | |
uses: peter-evans/create-issue-from-file@v2 | |
with: | |
title: Link Checker Report | |
content-filepath: ./lychee/out.md | |
labels: automated issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment