forked from pingcap/blog
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 993 Bytes
/
link.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
name: Links
on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Link Checker
uses: lycheeverse/[email protected]
with:
args: -E --exclude-mail -v -i -n -a 429 -t 45 --exclude .*.rpm --exclude .*host:port.* --exclude .*\.js --exclude http://34.83.139.90 --exclude https://pkg.go.dev/ --exclude https://charts.pingcap.org/ --exclude https://451research.com/ --exclude http://localhost --exclude https://www.crunchbase.com/ --exclude http://www.sunline-i.com/ --exclude https://angel.co/ --exclude .*127\.0\.0\.1.* -- *.md
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Create Issue From File
uses: peter-evans/create-issue-from-file@v3
with:
title: Broken Link Detected
content-filepath: ./lychee/out.md
labels: bug
assignees: ran-huang