-
-
Notifications
You must be signed in to change notification settings - Fork 453
48 lines (42 loc) · 1.11 KB
/
docs.yml
File metadata and controls
48 lines (42 loc) · 1.11 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
name: Docs
on:
pull_request:
paths:
- "docs/**"
- ".github/workflows/docs.yml"
- "CHANGELOG.md"
- "README.md"
- "lychee.toml"
push:
branches: ['8.x']
paths:
- "docs/**"
- ".github/workflows/docs.yml"
- "CHANGELOG.md"
- "README.md"
- "lychee.toml"
release:
types: [published]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
links:
name: Check Links
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- name: Run Lychee
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # 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