mirror of
https://github.com/testthedocs/awesome-docs.git
synced 2026-11-16 11:47:07 -06:00
27 lines
658 B
YAML
27 lines
658 B
YAML
name: Cron Link Check
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * 0" # Once a week on Sunday
|
|
|
|
jobs:
|
|
linkChecker:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- name: Link Checker
|
|
id: lychee
|
|
uses: lycheeverse/lychee-action@v2.9.0
|
|
with:
|
|
args: --verbose --no-progress README.md
|
|
fail: true
|
|
|
|
- name: Create Issue From File
|
|
if: steps.lychee.outputs.exit_code != 0
|
|
uses: peter-evans/create-issue-from-file@v6
|
|
with:
|
|
title: Link Checker Report
|
|
content-filepath: ./lychee/out.md
|
|
labels: report, automated issue
|
|
assignees: svx |