.github/workflows/linkchecker.yml #166
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
on: | |
schedule: | |
- cron: '0 9 * * 1' | |
workflow_dispatch: | |
jobs: | |
linkChecker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: update setuptools | |
run: | | |
python3 -m pip install --upgrade pip setuptools wheel | |
- uses: actions/checkout@v2 | |
- name: Link Checker | |
uses: lycheeverse/lychee-action@master | |
with: | |
args: --verbose --no-progress --accept 200,204,206,406,429,999 --exclude-mail ./sections/*.md | |
- name: Create Issue From File | |
uses: peter-evans/create-issue-from-file@v5 | |
with: | |
title: Link Checker Report | |
content-filepath: ./lychee/out.md | |
labels: report, automated issue |