Skip to content

Commit 13254f7

Browse files
authored
Run linkcheck on 2027 (#3058)
Made a separate workflow so it runs hours later to avoid rate limits
1 parent a172b69 commit 13254f7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Link Check 2027
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 8 * * *'
7+
8+
env:
9+
GITHUB_TOKEN: ${{ github.token }}
10+
11+
jobs:
12+
check-links-2027:
13+
if: github.repository_owner == 'wpilibsuite'
14+
runs-on: ubuntu-22.04
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
ref: 2027
20+
- uses: actions/setup-python@v5
21+
with:
22+
python-version: 3.11
23+
- name: Install Dependencies
24+
run: pip install -r source/requirements.txt
25+
- name: Check Links
26+
run: make linkcheck

0 commit comments

Comments
 (0)