-
Notifications
You must be signed in to change notification settings - Fork 25
33 lines (30 loc) · 922 Bytes
/
lint.yml
File metadata and controls
33 lines (30 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Lint
on: pull_request
# If two events are triggered within a short time in the same PR, cancel the run of the oldest event
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
markdown:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: errata-ai/vale-action@reviewdog
with:
files: '_posts/,docs/stable/'
separator: ","
filter_mode: added
fail_on_error: false
- uses: articulate/actions-markdownlint@main
with:
config: .markdownlint.jsonc
files: 'docs/stable/**/*.md _posts/*.md'
python:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: psf/black@stable
with:
options: "--check --skip-string-normalization --verbose --diff --color"
src: "./scripts"
version: "26.3.1"