Merge pull request #521 from vishnoianil/context-selection-upstream #1237
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: linters | |
on: | |
push: | |
branches: | |
- main | |
- release-1.0 | |
pull_request: | |
branches: | |
- main | |
- release-1.0 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
env: | |
SHELLCHECK_OPTS: "-e SC1091" # ignores using .env for source as issue | |
markdown-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: markdownlint-cli2-action | |
uses: DavidAnson/markdownlint-cli2-action@v19 | |
with: | |
globs: "**/*.md" |