-
Notifications
You must be signed in to change notification settings - Fork 76
30 lines (29 loc) · 829 Bytes
/
push.yml
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
on: [pull_request]
name: PR Checks
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: markdown-link-check
uses: ./
with:
check-modified-files-only: 'yes'
id: markdown-link-check
- name: display errors
run: |
echo "${{ steps.markdown-link-check.outputs.MLC_OUTPUT }}"
markdown-link-check-folders:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: markdown-link-check
uses: ./
with:
# Add a test to restrict the test to just dir4 and dir5.
folder-path: './md/dir4, ./md/dir5'
file-path: './md/AdditionalFileTest1.md, ./md/AdditionalFileTest2.md'
shellcheck:
runs-on: [ubuntu-latest]
steps:
- uses: 'bewuethr/shellcheck-action@v2'