Skip to content

Commit

Permalink
ci: Add Super Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianczech committed Nov 16, 2024
1 parent e7b4178 commit a3c0d1a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .checkov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
framework:
- all

skip-check:

soft-fail: true
23 changes: 23 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,29 @@ permissions:
statuses: none

jobs:
superLinter:
name: Lint
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
statuses: write

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Super-linter
uses: super-linter/super-linter@v7.1.0
env:
VALIDATE_CHECKOV: ${{ vars.VALIDATE_CHECKOV }}
VALIDATE_GITLEAKS: ${{ vars.VALIDATE_GITLEAKS }}
VALIDATE_YAML: ${{ vars.VALIDATE_YAML }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

collectInputs:
name: Collect workflow inputs
runs-on: ubuntu-latest
Expand Down

0 comments on commit a3c0d1a

Please sign in to comment.