-
-
Notifications
You must be signed in to change notification settings - Fork 452
47 lines (41 loc) · 1017 Bytes
/
docs.yml
File metadata and controls
47 lines (41 loc) · 1017 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
43
44
45
46
47
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]
workflow_dispatch:
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@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