papers-we-love_papers-we-love/.github/workflows/lychee.yml
Robbi Nespu ee4942a941
Run once a week (runs at 00:00 UTC on Sat)
* Instead of scanning everyday, let run once a week.
* Runs at 00:00 UTC on Sat.
2021-09-09 11:59:47 +08:00

29 lines
588 B
YAML

name: lychee
on:
push:
pull_request:
schedule:
- cron: '00 0 * * 6'
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 --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: report, automated issue