-
Notifications
You must be signed in to change notification settings - Fork 979
66 lines (57 loc) 路 1.61 KB
/
Copy pathlychee.yml
File metadata and controls
66 lines (57 loc) 路 1.61 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Lychee
on: [pull_request]
jobs:
lychee:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@v4
- name: Lychee Link Checker
uses: lycheeverse/lychee-action@v2
with:
fail: true
- name: Create Issue From File
if: steps.lychee.outputs.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
# name: Lychee
# on: [pull_request]
# jobs:
# linkChecker:
# runs-on: ubuntu-latest
# permissions:
# issues: write # Required for peter-evans/create-issue-from-file
# steps:
# - uses: actions/checkout@v5
# - name: Build site
# uses: withastro/action@v4
# with:
# package-manager: pnpm@latest
# - name: Lychee Link Checker
# id: lychee
# uses: lycheeverse/lychee-action@v2
# with:
# args: --base-url dist --exclude-all-private dist
# fail: false
# name: Linkspector
# on: [pull_request]
# jobs:
# check-links:
# name: runner / linkspector
# runs-on: ubuntu-22.04
# permissions:
# contents: write
# steps:
# - uses: actions/checkout@v4
# - name: Run linkspector
# uses: umbrelladocs/action-linkspector@v1.3.7
# with:
# github_token: ${{ secrets.github_token }}
# reporter: github-pr-check
# fail_on_error: true
# filter_mode: nofilter
# config_file: .github/workflows/config/.linkspector.yml