11---
2- # ################################
3- # ################################
4- # # Super Linter GitHub Actions ##
5- # ################################
6- # ################################
2+ # ################################
3+ # ################################
4+ # # Super Linter GitHub Actions ##
5+ # ################################
6+ # ################################
7+ name : Lint Code Base
8+
9+ # ############################
10+ # Start the job on all push #
11+ # ############################
12+ on :
13+ push :
14+ branches-ignore : [master, main]
15+ # Remove the line above to run when pushing to master
16+ pull_request :
17+
18+ # ##############
19+ # Set the Job #
20+ # ##############
21+ jobs :
22+ build :
23+ # Name the Job
724 name : Lint Code Base
8-
9- # ############################
10- # Start the job on all push #
11- # ############################
12- on :
13- push :
14- branches-ignore : [master, main]
15- # Remove the line above to run when pushing to master
16- pull_request :
17- branches : [master, main]
18-
19- # ##############
20- # Set the Job #
21- # ##############
22- jobs :
23- build :
24- # Name the Job
25- name : Lint Code Base
26- # Set the agent to run on
27- runs-on : ubuntu-latest
28-
29- # ###########################################
30- # Grant status permission for MULTI_STATUS #
31- # ###########################################
32- permissions :
33- contents : read
34- packages : read
35- statuses : write
36-
37- # #################
38- # Load all steps #
39- # #################
40- steps :
41- # #########################
42- # Checkout the code base #
43- # #########################
44- - name : Checkout Code
45- uses : actions/checkout@v3
46- with :
47- # Full git history is needed to get a proper
48- # list of changed files within `super-linter`
49- fetch-depth : 0
50-
51- # ###############################
52- # Run Linter against code base #
53- # ###############################
54- - name : Lint Code Base
55- uses : github/super-linter@v5
56- env :
57- VALIDATE_ALL_CODEBASE : false
58- DEFAULT_BRANCH : master
59- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
60- VALIDATE_JSCPD : false
25+ # Set the agent to run on
26+ runs-on : ubuntu-latest
27+
28+ # ###########################################
29+ # Grant status permission for MULTI_STATUS #
30+ # ###########################################
31+ permissions :
32+ contents : read
33+ packages : read
34+ statuses : write
35+
36+ # #################
37+ # Load all steps #
38+ # #################
39+ steps :
40+ # #########################
41+ # Checkout the code base #
42+ # #########################
43+ - name : Checkout Code
44+ uses : actions/checkout@v3
45+ with :
46+ # Full git history is needed to get a proper
47+ # list of changed files within `super-linter`
48+ fetch-depth : 0
49+
50+ # ###############################
51+ # Run Linter against code base #
52+ # ###############################
53+ - name : Lint Code Base
54+ uses : github/super-linter@v5
55+ env :
56+ VALIDATE_ALL_CODEBASE : false
57+ DEFAULT_BRANCH : master
58+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59+ VALIDATE_JSCPD : false
0 commit comments