papers-we-love_papers-we-love/.github/workflows/lychee.yml

28 lines
591 B
YAML
Raw Normal View History

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