-
-
Notifications
You must be signed in to change notification settings - Fork 453
42 lines (37 loc) · 873 Bytes
/
docs.yml
File metadata and controls
42 lines (37 loc) · 873 Bytes
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
name: Check links
on:
pull_request:
paths:
- 'docs/**'
- '.github/workflows/docs.yml'
- 'CHANGELOG.md'
- 'README.md'
- 'lychee.toml'
push:
branches: ['7.x']
paths:
- 'docs/**'
- '.github/workflows/docs.yml'
- 'CHANGELOG.md'
- 'README.md'
- 'lychee.toml'
release:
types: [published]
workflow_dispatch:
permissions:
contents: read
jobs:
links:
name: Check Links
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Run Lychee
uses: lycheeverse/lychee-action@v2
with:
args: "--verbose --no-progress './*.md' './docs/*.rst' './src/**/*.php' './tests/**/*.php'"
output: ${{ runner.temp }}/lychee/out.md
format: markdown
jobSummary: true
fail: true