11---
2- # ##########################
3- # ##########################
4- # # Linter GitHub Actions ##
5- # ##########################
6- # ##########################
2+ # ################################
3+ # ################################
4+ # # Super Linter GitHub Actions ##
5+ # ################################
6+ # ################################
77name : Lint Code Base
88
9- #
10- # Documentation:
11- # https://help.github.com/en/articles/workflow-syntax-for-github-actions
12- #
13-
149# ############################
1510# Start the job on all push #
1611# ############################
1712on :
1813 push :
19- branches-ignore : [master]
14+ branches-ignore : [master, main ]
2015 # Remove the line above to run when pushing to master
2116 pull_request :
22- branches : [master]
17+ branches : [master, main ]
2318
2419# ##############
2520# Set the Job #
@@ -39,17 +34,18 @@ jobs:
3934 # Checkout the code base #
4035 # #########################
4136 - name : Checkout Code
42- uses : actions/checkout@v2
37+ uses : actions/checkout@v3
4338 with :
44- # Full git history is needed to get a proper list of changed files within `super-linter`
39+ # Full git history is needed to get a proper
40+ # list of changed files within `super-linter`
4541 fetch-depth : 0
4642
4743 # ###############################
4844 # Run Linter against code base #
4945 # ###############################
5046 - name : Lint Code Base
51- uses : github/super-linter@v3
47+ uses : github/super-linter@v4
5248 env :
5349 VALIDATE_ALL_CODEBASE : false
5450 DEFAULT_BRANCH : master
55- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments