Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3a2722e

Browse files
authored
Merge pull request #9 from arduino/check-links-workflow
Add CI workflow to check for broken links in documentation
2 parents b68c873 + 3ab24e5 commit 3a2722e

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

‎.github/workflows/check-links.yml‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Check documentation links
2+
3+
on:
4+
push:
5+
paths:
6+
- ".github/workflows/check-links.yml"
7+
- "Taskfile.yml"
8+
- "**.md"
9+
pull_request:
10+
paths:
11+
- ".github/workflows/check-links.yml"
12+
- "Taskfile.yml"
13+
- "**.md"
14+
schedule:
15+
# Run every Tuesday at 03:00 UTC to catch broken links caused by external changes
16+
- cron: "0 3 * * 2"
17+
18+
jobs:
19+
check-links:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout local repository
23+
uses: actions/checkout@v2
24+
25+
- name: Install Taskfile
26+
uses: arduino/actions/setup-taskfile@master
27+
with:
28+
repo-token: ${{ secrets.GITHUB_TOKEN }}
29+
version: 3.x
30+
31+
- name: Check links
32+
run: task --silent docs:check-links

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /