11---
2- # ##########################
3- # ##########################
4- # # Linter GitHub Actions ##
5- # ##########################
6- # ##########################
2+ # ################################
3+ # ################################
4+ # # Super Linter GitHub Actions ##
5+ # ################################
6+ # ################################
77name : Lint Code Base
88
99#
1010# Documentation:
11- # https://help .github.com/en/articles /workflow-syntax-for-github-actions
11+ # https://docs .github.com/en/actions/learn-github-actions /workflow-syntax-for-github-actions
1212#
1313
1414# ############################
1515# Start the job on all push #
1616# ############################
1717on :
1818 push :
19- branches-ignore : [master]
19+ branches-ignore : [master, main ]
2020 # Remove the line above to run when pushing to master
2121 pull_request :
22- branches : [master]
22+ branches : [master, main ]
2323
2424# ##############
2525# Set the Job #
4848 # Run Linter against code base #
4949 # ###############################
5050 - name : Lint Code Base
51- uses : github/super-linter@v3
51+ uses : github/super-linter@v4
5252 env :
5353 VALIDATE_ALL_CODEBASE : false
5454 DEFAULT_BRANCH : master
55- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments