-
Notifications
You must be signed in to change notification settings - Fork 1
137 lines (112 loc) · 4.36 KB
/
develop.linter.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# Github Super-linter for develop branch
name: Linter [develop]
on:
pull_request:
branches:
- develop
jobs:
linter:
name: Linter
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Super-Linter
uses: github/[email protected]
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_BASH: false
- name: pylint
uses: cclauss/GitHub-Action-for-pylint@master
with:
args: "pip install requests; pylint --disable=C0301,C0103 .local/bin/picture-of-the-day"
# Shellcheck
# - files of ~/
- name: shellcheck for ~/.profile
uses: reviewdog/[email protected]
with:
pattern: ".profile"
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
filter_mode: nofilter
shellcheck_flags: "-s sh -e 1090,1091,2004,2039,2113"
- name: shellcheck for ~/.zshrc
uses: reviewdog/[email protected]
with:
pattern: ".zshrc"
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
filter_mode: nofilter
shellcheck_flags: "-s sh -e 1090,1091,2004,2039,2113"
- name: shellcheck for ~/setup.sh
uses: reviewdog/[email protected]
with:
pattern: "setup.sh"
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
filter_mode: nofilter
shellcheck_flags: "-s sh -e 1090,1091,2004,2039,2113"
# - files of ~/.local/bin
- name: shellcheck for ~/.local/bin/change-background
uses: reviewdog/[email protected]
with:
pattern: "change-background"
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
filter_mode: nofilter
shellcheck_flags: "-s sh -e 1090,1091,2004,2039,2113"
- name: shellcheck for ~/.local/bin/custom-scrot
uses: reviewdog/[email protected]
with:
pattern: "custom-scrot"
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
filter_mode: nofilter
shellcheck_flags: "-s sh -e 1090,1091,2004,2039,2113"
- name: shellcheck for ~/.local/bin/sleep-monitor
uses: reviewdog/[email protected]
with:
pattern: "sleep-monitor"
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
filter_mode: nofilter
shellcheck_flags: "-s sh -e 1090,1091,2004,2039,2113"
- name: shellcheck for ~/.local/bin/start-script
uses: reviewdog/[email protected]
with:
pattern: "start-script"
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
filter_mode: nofilter
shellcheck_flags: "-s sh -e 1090,1091,2004,2039,2113"
# - files of ~/.oh-my-zsh/themes
- name: shellcheck for ~/.oh-my-zsh/custom.zsh-theme
uses: reviewdog/[email protected]
with:
pattern: "custom.zsh-theme"
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
filter_mode: nofilter
shellcheck_flags: "-s sh -e 1090,1091,2004,2016,2039,2091,2113,2154"
# - files of ~/Programs
- name: shellcheck for Programs/.programsrc
uses: reviewdog/[email protected]
with:
pattern: ".programsrc"
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
filter_mode: nofilter
shellcheck_flags: "-s sh -e 1090,1091,2004,2039,2113"
# - files of ~/Workspaces
- name: shellcheck for Workspaces/.crc
uses: reviewdog/[email protected]
with:
pattern: ".crc"
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
filter_mode: nofilter
shellcheck_flags: "-s sh -e 1090,1091,2004,2039,2113"
- name: shellcheck for Workspaces/.hrc
uses: reviewdog/[email protected]
with:
pattern: ".hrc"
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
filter_mode: nofilter
shellcheck_flags: "-s sh -e 1090,1091,2004,2039,2113"
- name: shellcheck for Workspaces/.jrc
uses: reviewdog/[email protected]
with:
pattern: ".jrc"
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
filter_mode: nofilter
shellcheck_flags: "-s sh -e 1090,1091,2004,2039,2113"