From 98a5e56f384f2c9466a42543614ca72e37edf442 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 May 2025 14:21:47 +0000 Subject: [PATCH 1/6] fix(deps): bump github/super-linter from 5 to 6 Bumps [github/super-linter](https://github.com/github/super-linter) from 5 to 6. - [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...v6) --- 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 3ec0296a206c9790464aa125aa03eafbe95a56c5 Mon Sep 17 00:00:00 2001 From: Michael Matzka <14311597+mima0815@users.noreply.github.com> Date: Mon, 12 May 2025 16:37:21 +0200 Subject: [PATCH 2/6] chore: update super-lint --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 796aa46..d6a6928 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@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 ba256f1fad59090319716b465ad6f340c2d1d540 Mon Sep 17 00:00:00 2001 From: Michael Matzka <14311597+mima0815@users.noreply.github.com> Date: Mon, 12 May 2025 16:52:16 +0200 Subject: [PATCH 3/6] chore: jscpd config --- .jscpd.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .jscpd.json diff --git a/.jscpd.json b/.jscpd.json new file mode 100644 index 0000000..8147cfb --- /dev/null +++ b/.jscpd.json @@ -0,0 +1,3 @@ +{ + "threshold": 0.1 +} From 01d30250c43dcdb39b623094afd2adb0cfea48ea Mon Sep 17 00:00:00 2001 From: Michael Matzka <14311597+mima0815@users.noreply.github.com> Date: Mon, 12 May 2025 17:00:09 +0200 Subject: [PATCH 4/6] chore: linters folder --- .jscpd.json => .github/linters/.jscpd.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .jscpd.json => .github/linters/.jscpd.json (100%) diff --git a/.jscpd.json b/.github/linters/.jscpd.json similarity index 100% rename from .jscpd.json rename to .github/linters/.jscpd.json From de86aa4c702076072ddc975ad8f19d72e8b35b38 Mon Sep 17 00:00:00 2001 From: Michael Matzka <14311597+mima0815@users.noreply.github.com> Date: Mon, 12 May 2025 17:08:43 +0200 Subject: [PATCH 5/6] chore: lint issue fix --- .github/linters/.checkov.yaml | 2 ++ .github/linters/.jscpd.json | 2 +- .github/workflows/ci.yml | 2 +- 3 files changed, 4 insertions(+), 2 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/linters/.jscpd.json b/.github/linters/.jscpd.json index 8147cfb..39e34b1 100644 --- a/.github/linters/.jscpd.json +++ b/.github/linters/.jscpd.json @@ -1,3 +1,3 @@ { - "threshold": 0.1 + "threshold": 10 } diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6a6928..2682f94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: fetch-depth: 0 # needed for super-linter - name: Lint codebase - uses: super-linter/super-linter@4e8a7c2bf106c4c766c816b35ec612638dc9b6b2 # v7.3.0 + uses: super-linter/super-linter/slim@4e8a7c2bf106c4c766c816b35ec612638dc9b6b2 # v7.3.0 env: IGNORE_GITIGNORED_FILES: true FILTER_REGEX_INCLUDE: .*src/.*, .*test/.* From 281222ef3ab4b3ac21077f2bf39b8bac61ffe172 Mon Sep 17 00:00:00 2001 From: Michael Matzka <14311597+mima0815@users.noreply.github.com> Date: Mon, 12 May 2025 17:09:30 +0200 Subject: [PATCH 6/6] chore: add java 21 --- .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 2682f94..ca97721 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - java-version: [8, 11, 17] + java-version: [8, 11, 17, 21] steps: - name: Checkout repository