File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change 1
- ---
2
1
name : Lint Pull Request
3
2
4
3
on :
5
4
workflow_dispatch :
6
5
pull_request :
7
6
branches : main
8
7
9
- permissions : { }
8
+
9
+ permissions : {}
10
10
11
11
jobs :
12
12
build :
13
- name : Lint Pull Request
13
+ name : Lint
14
14
runs-on : ubuntu-latest
15
+
15
16
permissions :
16
17
contents : read
17
18
packages : read
18
- # To report github actions status checks
19
+ # To report GitHub Actions status checks
19
20
statuses : write
21
+
20
22
steps :
21
23
- name : Checkout Code
22
24
uses : actions/checkout@v4
23
25
with :
24
- # Full git history is needed to get a proper list of changed
25
- # files within `super-linter`
26
+ # super-linter needs the full git history to get the
27
+ # list of files that changed across commits
26
28
fetch-depth : 0
27
- - name : Lint Code Base
28
- uses : super-linter/super-linter@v7
29
+
30
+ - name : Super-linter
31
+ uses :
super-linter/[email protected]
29
32
env :
30
- # only validate new or edited files
33
+ # To report GitHub Actions status checks
34
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
+ DEFAULT_BRANCH : main
31
36
VALIDATE_ALL_CODEBASE : false
32
37
VALIDATE_BASH : true
33
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments