-
Notifications
You must be signed in to change notification settings - Fork 130
34 lines (30 loc) · 930 Bytes
/
linkchecker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Link Checker
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "00 18 * * *"
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@master
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
args: --verbose --accept=200,429,403 --exclude-file .lycheeexclude --no-progress "**/*.md" --exclude-mail
continue-on-error: true
- name: Create Issue From File
if: always() && steps.lychee.conclusion != 'success' && github.event_name != 'pull_request'
uses: peter-evans/create-issue-from-file@main
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue