Skip to content

Commit b52a990

Browse files
authored
Merge pull request #95 from RustScan/bee-scheduled-markdown-action
Scheduled markdown action 404 links
2 parents 6ab43bf + c840478 commit b52a990

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/basic.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,11 @@ jobs:
4545
- uses: actions-rs/cargo@v1
4646
with:
4747
command: fmt
48-
args: --all -- --check
48+
args: --all -- --check
49+
50+
links:
51+
name: markdown-link-check
52+
runs-on: ubuntu-latest
53+
steps:
54+
- uses: actions/checkout@master
55+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Check Markdown links
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
schedule:
8+
# Run everyday at 9:00 AM (See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07)
9+
- cron: "0 9 * * *"
10+
11+
jobs:
12+
markdown-link-check:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@master
16+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
17+
with:
18+
use-quiet-mode: 'yes'

0 commit comments

Comments
 (0)