forked from phpstan/phpstan
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 1.03 KB
/
website-links.yml
File metadata and controls
34 lines (29 loc) · 1.03 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
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
name: "Check Website Links"
on:
workflow_dispatch:
repository_dispatch:
types: [ check_website_links ]
push:
branches:
- "2.2.x"
paths:
- '.github/workflows/website-links.yml'
jobs:
website-links:
name: "Check for broken links"
runs-on: "ubuntu-latest"
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
with:
egress-policy: audit
- name: "Check for broken links"
uses: ScholliYT/Broken-Links-Crawler-Action@21eab52f98097989d343116dbbd46dc4541b849b # v3.3.2
with:
website_url: 'https://phpstan.org/'
resolve_before_filtering: 'true'
exclude_url_prefix: 'mailto:,https://twitter.com,https://www.startupjobs.cz,https://www.shopware.com,https://github.com/phpstan'
verbose: 'warning'
max_retry_time: 30
max_retries: 5