Skip to content

Commit 845842d

Browse files
committed
add .github/workflows/url-check.yml
1 parent f1a1bd2 commit 845842d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/url-check.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Check URLs
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
markdown-link-check:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out repo
14+
uses: actions/checkout@v3
15+
16+
- name: Check URL
17+
uses: urlstechie/urlchecker-action@master
18+
with:
19+
file_types: .md,.py,.rst # file types to check URLs in
20+
timeout: 5 # allowed timeout for requests to resolve, default = 5 sec
21+
retry_count: 2

0 commit comments

Comments
 (0)