File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# # Linter GitHub Actions ##
33# ##########################
44#
5- # Documentation: https://github.com/github /super-linter/
5+ # Documentation: https://github.com/super-linter /super-linter/
66#
77# Exception config files are in the .github/linters directory
88#
@@ -24,12 +24,11 @@ jobs:
2424 # Only run the full workflow for manual runs or if upgrading the super linter
2525 if : |
2626 github.event_name != 'workflow_dispatch' &&
27- startsWith(github.event.pull_request.title,'Bump github /super-linter') != true
27+ startsWith(github.event.pull_request.title,'Bump super-linter /super-linter') != true
2828 run : |
2929 echo "VALIDATE_ALL_CODEBASE=false" >> $GITHUB_ENV
3030 - name : Lint Code Base
31- # uses: docker://github/super-linter:v3.15.3
32- uses : github/super-linter/slim@v4.10.1
31+ uses : super-linter/super-linter/slim@v7
3332 env :
3433 DEFAULT_BRANCH : main
3534 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3535 - name : Use more complete checks for generated HTML linting
3636 run : cp -f .github/linters/.htmlhintrc_morechecks .github/linters/.htmlhintrc
3737 - name : Lint Generated HTML
38- uses : github /super-linter/slim@v4.10.1
38+ uses : super-linter /super-linter/slim@v7
3939 env :
4040 DEFAULT_BRANCH : main
4141 FILTER_REGEX_INCLUDE : static/html/.*
Original file line number Diff line number Diff line change 2525 "deploy" : " ./tools/scripts/deploy.sh" ,
2626 "timestamps" : " node ./tools/generate/generate_timestamps" ,
2727 "lint" : " run-script-os" ,
28- "lint:darwin:linux" : " docker container run -it --rm -v \" $PWD\" :/app -w /app --entrypoint=./tools/scripts/run_linter_locally.sh github /super-linter" ,
29- "lint:win32" : " docker container run --rm -v \" %cd%\" :/app -w /app/ --entrypoint=./tools/scripts/run_linter_locally.sh github /super-linter" ,
28+ "lint:darwin:linux" : " docker container run -it --rm -v \" $PWD\" :/app -w /app --entrypoint=./tools/scripts/run_linter_locally.sh super-linter /super-linter" ,
29+ "lint:win32" : " docker container run --rm -v \" %cd%\" :/app -w /app/ --entrypoint=./tools/scripts/run_linter_locally.sh super-linter /super-linter" ,
3030 "pytest" : " pytest --cov server --cov-fail-under=100 --cov-report=term-missing -s" ,
3131 "test" : " node ./tools/test"
3232 },
Original file line number Diff line number Diff line change 1717set -e
1818
1919# Annoyingly super-linter includes node_modules and env which take a long time
20- # https://github.com/github /super-linter/issues/985
20+ # https://github.com/super-linter /super-linter/issues/985
2121# So let's copy to /tmp folder and lint from there. It has the added advantage
2222# of us being able to lint specific subsets of files easily.
2323
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ if [ "${production}" == "1" ]; then
5454elif [ " ${RUN_TYPE} " == " pull_request" ] && [ " ${COMMIT_SHA} " != " " ]; then
5555
5656 # If this is part of pull request then get list of files as those changed
57- # Uses similar logic to GitHub Super Linter (https://github.com/github /super-linter/blob/master/lib/buildFileList.sh)
57+ # Uses similar logic to GitHub Super Linter (https://github.com/super-linter /super-linter/blob/master/lib/buildFileList.sh)
5858 # First checkout main to get list of differences
5959 git pull --quiet
6060 git checkout main
You can’t perform that action at this time.
0 commit comments