Skip to content

Commit

Permalink
Update Super Linter to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
tylervz committed Feb 29, 2024
1 parent a35183e commit be786d2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .checkov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# You can see all available properties here: https://github.com/bridgecrewio/checkov#configuration-using-a-config-file
quiet: true
skip-check:
- CKV_CIRCLECIPIPELINES_2
- CKV_DOCKER_2
- CKV2_GHA_1
- CKV_K8S_21
8 changes: 5 additions & 3 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand All @@ -47,8 +47,9 @@ jobs:
# Run Linter against code base #
################################
- name: Lint Code Base
uses: docker://ghcr.io/github/super-linter:slim-v4
uses: super-linter/super-linter/slim@v6
env:
LINTER_RULES_PATH: "."
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -60,8 +61,9 @@ jobs:
VALIDATE_YAML: false
# Run specific linters and only output warnings. Each linter run here should not be run in the action above.
- name: Lint Code Base for Warnings
uses: docker://ghcr.io/github/super-linter:slim-v4
uses: super-linter/super-linter/slim@v6
env:
LINTER_RULES_PATH: "."
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit be786d2

Please sign in to comment.