Update CONTRIBUTING.md and install new GH actions #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Markdown Lint | |
on: | |
# This triggers the workflow when pushing or pulling changes to any branch | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
lint-markdown: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
# Run markdownlint on the specified files | |
- name: Lint markdown files | |
uses: DavidAnson/markdownlint-cli2-action@v17 | |
with: | |
globs: | | |
readme.md | |
CONTRIBUTING.md |