Skip to content

Commit f1b6b86

Browse files
committed
Add markdown link checker
Signed-off-by: Alan Cha <[email protected]>
1 parent 83e2b64 commit f1b6b86

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Link checker
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 1 * *"
6+
7+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
8+
jobs:
9+
# This workflow contains a single job called "build"
10+
build:
11+
# The type of runner that the job will run on
12+
runs-on: ubuntu-latest
13+
14+
# Steps represent a sequence of tasks that will be executed as part of the job
15+
steps:
16+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
17+
- uses: actions/checkout@v2
18+
19+
- name: Link checker
20+
id: lc
21+
# You may pin to the exact commit or the version.
22+
# uses: peter-evans/link-checker@41c97244bb50a4a1b273d60abf5b5862b09f0c2d
23+
uses: peter-evans/[email protected]
24+
25+
- name: Create issue from file
26+
uses: peter-evans/create-issue-from-file@v2
27+
with:
28+
title: Link checker report
29+
content-filepath: ./link-checker/out.md
30+
labels: report, automated issue

0 commit comments

Comments
 (0)