mirror of
https://github.com/beardicus/awesome-plotters.git
synced 2025-03-19 02:59:38 +01:00
add a daily link check
This commit is contained in:
parent
11e5d70815
commit
68e8bd6763
25
.github/workflows/links.yml
vendored
Normal file
25
.github/workflows/links.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: Check links
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '42 04 * * *'
|
||||
|
||||
jobs:
|
||||
check-links:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Lychee Link Checker
|
||||
id: lychee
|
||||
uses: lycheeverse/lychee-action@v1.5.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
- name: Create Issue From File
|
||||
if: steps.lychee.outputs.exit_code != 0
|
||||
uses: peter-evans/create-issue-from-file@v3
|
||||
with:
|
||||
title: Link Checker Report
|
||||
content-filepath: ./lychee/out.md
|
||||
labels: report, automated
|
Loading…
x
Reference in New Issue
Block a user