File tree Expand file tree Collapse file tree 1 file changed +22
-13
lines changed Expand file tree Collapse file tree 1 file changed +22
-13
lines changed Original file line number Diff line number Diff line change 3
3
#
4
4
# You can adjust the behavior by modifying this file.
5
5
# For more information, see:
6
- # https://github.com/github /super-linter
6
+ # https://github.com/super-linter /super-linter
7
7
name : Lint Code Base
8
8
9
- on :
10
- push :
11
- branches : [main]
12
- pull_request :
13
- branches : [main]
9
+ on : # yamllint disable-line rule:truthy
10
+ push : null
11
+ pull_request : null
12
+
13
+ permissions : {}
14
+
14
15
jobs :
15
- run-lint :
16
+ build :
17
+ name : Lint
16
18
runs-on : ubuntu-latest
19
+
20
+ permissions :
21
+ contents : read
22
+ packages : read
23
+ # To report GitHub Actions status checks
24
+ statuses : write
25
+
17
26
steps :
18
27
- name : Checkout code
19
- uses : actions/checkout@v4.1.1
28
+ uses : actions/checkout@v4
20
29
with :
21
- # Full git history is needed to get a proper list of changed files within `super-linter`
30
+ # super-linter needs the full git history to get the
31
+ # list of files that changed across commits
22
32
fetch-depth : 0
23
33
24
- - name : Lint Code Base
25
- uses : github /super-linter@v7
34
+ - name : Super-linter
35
+ uses : super-linter /super-linter@v7.1.0 # x-release-please-version
26
36
env :
27
- VALIDATE_ALL_CODEBASE : false
28
- DEFAULT_BRANCH : main
37
+ # To report GitHub Actions status checks
29
38
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments