File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,14 @@ jobs:
2020 # Fedora is not an option yet
2121 os : [ubuntu-latest, ubuntu-22.04]
2222 runs-on : ${{ matrix.os }}
23+ permissions :
24+ contents : read
2325
2426 steps :
2527 - name : Checkout Repository
2628 uses : actions/checkout@v5
29+ with :
30+ persist-credentials : false
2731
2832 - name : Install Podman on Ubuntu
2933 if : contains(matrix.os, 'ubuntu')
Original file line number Diff line number Diff line change 99 name : Super linter
1010 # Set the agent to run on
1111 runs-on : ubuntu-latest
12+ permissions :
13+ contents : read
1214
1315 steps :
1416 - name : Checkout Code
1517 uses : actions/checkout@v5
1618 with :
1719 # Full git history is needed to get a proper list of changed files within `super-linter`
1820 fetch-depth : 0
21+ persist-credentials : false
1922
2023 # ###############################
2124 # Run Linter against code base #
2225 # ###############################
2326 - name : Lint Code Base
24- uses : super-linter/super-linter/slim@v7
27+ uses : super-linter/super-linter/slim@ffde3b2b33b745cb612d787f669ef9442b1339a6 # v8.1.0
2528 env :
2629 VALIDATE_ALL_CODEBASE : true
2730 DEFAULT_BRANCH : main
3336 VALIDATE_JSCPD : false
3437 VALIDATE_JSON_PRETTIER : false
3538 VALIDATE_MARKDOWN_PRETTIER : false
36- VALIDATE_KUBERNETES_KUBECONFORM : false
3739 VALIDATE_PYTHON_PYLINT : false
3840 VALIDATE_SHELL_SHFMT : false
3941 VALIDATE_YAML : false
4042 VALIDATE_YAML_PRETTIER : false
41- # VALIDATE_DOCKERFILE_HADOLINT: false
42- # VALIDATE_MARKDOWN: false
43- # VALIDATE_NATURAL_LANGUAGE: false
44- # VALIDATE_TEKTON: false
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ super-linter: ## Runs super linter locally
263263 $(DISABLE_LINTERS ) \
264264 -v $(PWD ) :/tmp/lint:rw,z \
265265 -w /tmp/lint \
266- ghcr.io/super-linter/super-linter: slim-v8
266+ ghcr.io/super-linter/super-linter@sha256:6c71bd17ab38ceb7acb5b93ef72f5c2288b5456a5c82693ded3ee8bb501bba7f # slim-v8.1.0
267267
268268.PHONY : deploy upgrade legacy-deploy legacy-upgrade
269269deploy upgrade legacy-deploy legacy-upgrade :
You can’t perform that action at this time.
0 commit comments