[PRIF Review] Check Markdown Links #26
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: '[PRIF Review] Check Markdown Links' | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * MON' | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: lycheeverse/[email protected] | |
id: lychee | |
with: | |
args: --verbose --timeout 60 --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0" --exclude=".+(adobe.com/de/privacy/)|(pnas.org)|(tandfonline.com).+" --no-progress --insecure './prif-review/content/**/*.mdx' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: peter-evans/create-issue-from-file@v4 | |
if: env.lychee_exit_code != 0 | |
with: | |
title: Fix broken links | |
content-filepath: ./lychee/out.md | |
labels: 'prif review' |