Skip to content

Check Links

Check Links #256

Workflow file for this run

name: Check Links
on:
push:
repository_dispatch:
workflow_dispatch:
schedule:
# Runs every Thursday at 20:23 GMT to avoid bit rot
- cron: "23 20 * * 4"
env:
USER_AGENT: "linux:lychee-action:@master (by /u/mre__)"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Link Checker
uses: lycheeverse/lychee-action@master
with:
args: -- '*.md'
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue