mirror of
https://github.com/gaurav-nelson/github-action-markdown-link-check.git
synced 2024-09-11 11:25:47 +03:00
26 lines
689 B
YAML
26 lines
689 B
YAML
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'
|
|
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'
|