mirror of
https://github.com/papers-we-love/papers-we-love.git
synced 2024-10-27 20:34:20 +00:00
Auto check missing / forbidden external papers and raise issue (#624)
* Create lychee.yml * Link checker with auto create issue * 📅 run once a month Request from https://github.com/papers-we-love/papers-we-love/pull/624#issuecomment-939320960
This commit is contained in:
parent
7a241da5e8
commit
20b552c908
28
.github/workflows/lychee.yml
vendored
Normal file
28
.github/workflows/lychee.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
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 --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
|
||||
|
Loading…
Reference in New Issue
Block a user