mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-22 23:40:24 +00:00
26 lines
666 B
YAML
26 lines
666 B
YAML
name: Links
|
|
|
|
on:
|
|
repository_dispatch:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "00 18 * * *"
|
|
|
|
jobs:
|
|
linkChecker:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Link Checker
|
|
uses: lycheeverse/lychee-action@master
|
|
with:
|
|
args: --verbose --exclude-path benches --exclude-path fixtures .
|
|
|
|
- name: Create Issue From File
|
|
if: github.repository_owner == 'lycheeverse' && env.lychee_exit_code != 0
|
|
uses: peter-evans/create-issue-from-file@v5
|
|
with:
|
|
title: Link Checker Report
|
|
content-filepath: ./lychee/out.md
|
|
labels: report, automated issue
|