Fetch branches #321
Workflow file for this run
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: pgip linting | |
# Run on all pushes and PRs | |
on: | |
push: | |
branches: | |
jobs: | |
EditorConfig: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- name: Install editorconfig-checker | |
run: npm install -g editorconfig-checker | |
- name: Run ECLint check | |
run: editorconfig-checker -exclude README.md $(find .* -type f | grep -v '.git\|.py\|.md\|json\|yml\|yaml\|html\|css\|work\|build\|log.txt\|Makefile') | |
- name: markdownlint-cli2-action | |
uses: DavidAnson/markdownlint-cli2-action@v9 | |
with: | |
globs: | | |
*.md | |
**/*.md | |
**/*.qmd | |
!**/LICENSE.md |