From 7d3e696969ac13f7013371c90e84ba4b189bdd77 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 May 2025 11:26:51 +0000 Subject: [PATCH 1/3] fix(deps): bump github/super-linter from 5 to 7 Bumps [github/super-linter](https://github.com/github/super-linter) from 5 to 7. - [Release notes](https://github.com/github/super-linter/releases) - [Changelog](https://github.com/github/super-linter/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/super-linter/compare/v5...v7) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f229a1d..796aa46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: fetch-depth: 0 # needed for super-linter - name: Lint codebase - uses: github/super-linter@v5 + uses: github/super-linter@v7 env: VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: main From 7802a35f77bc4d8efb85b3dbb81f550f86c860ca Mon Sep 17 00:00:00 2001 From: Michael Matzka <14311597+mima0815@users.noreply.github.com> Date: Tue, 13 May 2025 13:29:18 +0200 Subject: [PATCH 2/3] chore: update linter --- .github/linters/.checkov.yaml | 2 ++ .github/workflows/ci.yml | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .github/linters/.checkov.yaml diff --git a/.github/linters/.checkov.yaml b/.github/linters/.checkov.yaml new file mode 100644 index 0000000..3c1877f --- /dev/null +++ b/.github/linters/.checkov.yaml @@ -0,0 +1,2 @@ +skip-check: + - CKV2_GHA_1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 796aa46..2682f94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,12 @@ jobs: name: Lint runs-on: ubuntu-24.04 + permissions: + contents: read + packages: read + # To report GitHub Actions status checks + statuses: write + steps: - name: Checkout repository uses: actions/checkout@v4 @@ -41,10 +47,8 @@ jobs: fetch-depth: 0 # needed for super-linter - name: Lint codebase - uses: github/super-linter@v7 + uses: super-linter/super-linter/slim@4e8a7c2bf106c4c766c816b35ec612638dc9b6b2 # v7.3.0 env: - VALIDATE_ALL_CODEBASE: false - DEFAULT_BRANCH: main IGNORE_GITIGNORED_FILES: true FILTER_REGEX_INCLUDE: .*src/.*, .*test/.* FILTER_REGEX_EXCLUDE: .*package-info.java From eeae0dd66da2cf4ea9fa4623eb43be261dcc8406 Mon Sep 17 00:00:00 2001 From: Michael Matzka <14311597+mima0815@users.noreply.github.com> Date: Tue, 13 May 2025 13:32:00 +0200 Subject: [PATCH 3/3] chore: settings --- .github/linters/.jscpd.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .github/linters/.jscpd.json diff --git a/.github/linters/.jscpd.json b/.github/linters/.jscpd.json new file mode 100644 index 0000000..33c7766 --- /dev/null +++ b/.github/linters/.jscpd.json @@ -0,0 +1,3 @@ +{ + "threshold": 5 +}