| 1 |
--- |
| 2 |
name: "Lint" |
| 3 |
|
| 4 |
# yamllint disable-line rule:truthy |
| 5 |
on: |
| 6 |
push: |
| 7 |
branches: |
| 8 |
- master |
| 9 |
pull_request: |
| 10 |
types: |
| 11 |
- opened |
| 12 |
- reopened |
| 13 |
- synchronize |
| 14 |
workflow_dispatch: |
| 15 |
|
| 16 |
concurrency: |
| 17 |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} |
| 18 |
cancel-in-progress: true |
| 19 |
|
| 20 |
jobs: |
| 21 |
lint-jsonlint: |
| 22 |
uses: timmo001/workflows/.github/workflows/lint-jsonlint.yml@master |
| 23 |
lint-markdown-links: |
| 24 |
uses: timmo001/workflows/.github/workflows/lint-markdown-links.yml@master |
| 25 |
lint-markdownlint: |
| 26 |
uses: timmo001/workflows/.github/workflows/lint-markdownlint.yml@master |
| 27 |
lint-prettier: |
| 28 |
uses: timmo001/workflows/.github/workflows/lint-prettier.yml@master |
| 29 |
with: |
| 30 |
file-types: "{json,yml,yaml}" |
| 31 |
lint-pylint: |
| 32 |
uses: timmo001/workflows/.github/workflows/lint-pylint.yml@master |
| 33 |
with: |
| 34 |
module-name: aioazuredevops |
| 35 |
lint-ruff: |
| 36 |
uses: timmo001/workflows/.github/workflows/lint-ruff.yml@master |
| 37 |
lint-yamllint: |
| 38 |
uses: timmo001/workflows/.github/workflows/lint-yamllint.yml@master |