diff --git a/.github/linters/.checkov.yml b/.github/linters/.checkov.yml new file mode 100644 index 0000000..c306051 --- /dev/null +++ b/.github/linters/.checkov.yml @@ -0,0 +1,6 @@ +quiet: true +skip-check: + # Ensure that HEALTHCHECK instructions have been added to container images + - CKV_DOCKER_2 + # Ensure that a user for the container has been created + - CKV_DOCKER_3 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 6eec65e..ee98c64 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -20,10 +20,12 @@ jobs: - name: Checkout id: checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Lint Codebase id: super-linter - uses: super-linter/super-linter/slim@v5 + uses: super-linter/super-linter/slim@v6 env: DEFAULT_BRANCH: main GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}