mirror of
https://github.com/emmabostian/developer-portfolios.git
synced 2025-04-21 05:38:01 +00:00
Add workflow file to check markdown list order
This commit is contained in:
parent
527a6c49c6
commit
126bf287b9
21
.github/workflows/order-checker.yml
vendored
Normal file
21
.github/workflows/order-checker.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
name: Check order of markdown list items
|
||||||
|
jobs:
|
||||||
|
linkChecker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Lint markdown lists
|
||||||
|
uses: ClydeDz/markdown-list-linter@main
|
||||||
|
with:
|
||||||
|
file: markdown-lists/valid_file.md
|
||||||
|
fail-on-error: true
|
Loading…
Reference in New Issue
Block a user