-
Notifications
You must be signed in to change notification settings - Fork 2
61 lines (50 loc) · 1.25 KB
/
quality_checks.yml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
name: 'Quality checks'
"on":
push:
branches:
- '**'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
yamllint:
name: Yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3.1.0
with:
config_file: .github/workflows/config/.yamllintconfig.yml
markdownlint:
name: Markdownlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: nosborn/github-action-markdown-cli@v3.1.0
name: Markdownlint
with:
files: .
config_file: ".markdownlint.json"
spellcheck:
name: Spellcheck
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Run PySpelling
uses: rojopolis/spellcheck-github-actions@0.26.0
with:
task_name: Markdown
conventional-commits:
needs: [yamllint, markdownlint, spellcheck]
name: Verify conventional commits
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Commitsar conventional commits check
if: steps.check-out.outcome == 'success'
uses: aevea/commitsar@v0.20.1