File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 11---
22# ##########################
33# ##########################
4- # # Linter GitHub Actions ##
4+ # # Super- Linter Workflow ##
55# ##########################
66# ##########################
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# ############################
1914 pull_request :
2015 branches : [main, develop]
2116
17+ permissions : read-all
18+
2219# ##############
2320# Set the Job #
2421# ##############
2724 # Name the Job
2825 name : Lint Code Base (super-linter)
2926 # Set the agent to run on
30- runs-on : ubuntu-22 .04
27+ runs-on : ubuntu-24 .04
3128
3229 # #################
3330 # Load all steps #
3734 # Checkout the code base #
3835 # #########################
3936 - name : Checkout Code
40- uses : actions/checkout@v3
37+ uses : actions/checkout@v4
4138 with :
4239 # Full git history is needed to get a proper list
4340 # of changed files within `super-linter`
4744 # Run Linter against code base #
4845 # ###############################
4946 - name : Lint Code Base
50- uses : super-linter/super-linter@v6.5.0
47+ uses : super-linter/super-linter@v7
5148 env :
5249 VALIDATE_ALL_CODEBASE : false
50+ VALIDATE_JSCPD : false
5351 DEFAULT_BRANCH : main
5452 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments