-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (53 loc) · 1.43 KB
/
misc.yaml
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
name: Misc
on:
push:
branches:
- master
pull_request:
jobs:
codeowners:
name: CODEOWNERS Validation
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: GitHub CODEOWNERS Validator
uses: mszostok/[email protected]
with:
checks: "files,owners,duppatterns,syntax"
experimental_checks: "notowned,avoid-shadowing"
github_access_token: "${{ secrets.CODEOWNERS_VALIDATOR_GITHUB_SECRET }}"
actionlint:
name: Action Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Download actionlint
uses: reviewdog/action-actionlint@v1
with:
github_token: ${{ secrets.github_token }}
fail_on_error: true
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
fail_on_error: true
yamllint:
name: YAML Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: yamllint
uses: reviewdog/action-yamllint@v1
with:
github_token: ${{ secrets.github_token }}
fail_on_error: true
yamllint_flags: 'src/'