-
Notifications
You must be signed in to change notification settings - Fork 552
43 lines (40 loc) · 1.15 KB
/
pr-lint.yaml
File metadata and controls
43 lines (40 loc) · 1.15 KB
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
34
35
36
37
38
39
40
41
42
43
name: Lint PRs
on:
pull_request:
workflow_dispatch:
jobs:
actionlint-pr:
runs-on: ubuntu-latest
name: PR - Actionlint
steps:
- uses: actions/checkout@v6
- run: |
echo "::add-matcher::.github/actionlint-matcher.json"
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color -shellcheck=
shell: bash
shellcheck-pr:
runs-on: ubuntu-latest
name: PR - Shellcheck
steps:
- uses: actions/checkout@v6
- uses: ludeeus/action-shellcheck@master
markdownlint:
name: runner / markdownlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: markdownlint
uses: prologic/action-markdownlint@v0.26.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review # Change reporter. (Only `github-pr-check` is supported at the moment).
vale:
name: runner / vale
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: errata-ai/vale-action@v2.1.1
with:
files: all
fail_on_error: true