Merge remote-tracking branch 'upstream/master' #1
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: Continuous Integration | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
# based on https://github.com/DavidAnson/markdownlint-cli2-action/blob/main/.github/workflows/changed.yml | |
# runs markdown lint only for changed files | |
markdownlint: | |
name: run markdownlint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: tj-actions/changed-files@v41 | |
id: changed-files | |
with: | |
files: '**/*.md' | |
separator: "," | |
- uses: DavidAnson/markdownlint-cli2-action@v15 | |
if: steps.changed-files.outputs.any_changed == 'true' | |
with: | |
globs: "${{ steps.changed-files.outputs.all_changed_files }},!_includes" | |
separator: "," | |
config: '.markdownlint.json' |