Replace the project name "Chariott" in code and package names, with the component name "intent brokering" #141
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: Lint and Check Markdown | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'docs/**' | |
- '**.md' | |
- '**.markdown' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
lint-markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
- run: | | |
npm install markdownlint-cli | |
- run: | | |
node_modules/.bin/markdownlint -c .markdownlint.jsonc -i node_modules/ . | |
markdown-link-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
npm install markdown-link-check | |
find . -type d \( -name node_modules -o -name .github \) -prune -o -type f -name '*.md' -print0 | xargs -0 -n1 node_modules/.bin/markdown-link-check --config .markdownlinkcheck.jsonc --quiet |