forked from CodeClash-ai/CodeClash
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 807 Bytes
/
Copy pathcheck-links.yaml
File metadata and controls
30 lines (27 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Check Markdown links
on:
workflow_dispatch:
pull_request:
schedule:
- cron: "0 0 1 * *"
jobs:
markdown-link-check-pr:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: '.github/mlc_config.json'
check-modified-files-only: 'yes'
base-branch: 'main'
markdown-link-check-full:
if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: '.github/mlc_config.json'