diff --git a/.checkov.yaml b/.checkov.yaml deleted file mode 100644 index 2645248..0000000 --- a/.checkov.yaml +++ /dev/null @@ -1,3 +0,0 @@ -quiet: true -skip-check: - - CKV_GHA_7 diff --git a/.checkov.yml b/.checkov.yml new file mode 100644 index 0000000..0bc5a4f --- /dev/null +++ b/.checkov.yml @@ -0,0 +1,9 @@ +# See: https://www.checkov.io/1.Welcome/Quick%20Start.html + +compact: true +quiet: true +skip-path: + - coverage + - node_modules +skip-check: + - CKV_GHA_7 diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 3f83e07..1c568ba 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -34,7 +34,7 @@ jobs: # Setup Node.js using the version specified in `.node-version`. - name: Setup Node.js id: setup-node - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version-file: .node-version cache: npm @@ -70,7 +70,7 @@ jobs: - if: ${{ failure() && steps.diff.outcome == 'failure' }} name: Upload Artifact id: upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: dist path: dist/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 574517f..5a650dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node.js id: setup-node - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version-file: .node-version cache: npm diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index eaec50e..9814d65 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -45,7 +45,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} config-file: ./.github/codeql/codeql-config.yml @@ -57,7 +57,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v3 + uses: github/codeql-action/autobuild@v4 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -71,4 +71,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 diff --git a/.github/workflows/example-workflow.yml b/.github/workflows/example-workflow.yml index 8853bc8..40a2fc8 100644 --- a/.github/workflows/example-workflow.yml +++ b/.github/workflows/example-workflow.yml @@ -6,7 +6,7 @@ on: who-to-greet: description: Who to greet in the log required: true - default: 'World' + default: World type: string permissions: diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 00be788..9de7f57 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -31,7 +31,7 @@ jobs: - name: Setup Node.js id: setup-node - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version-file: .node-version cache: npm diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index f9dda92..c199bb4 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -24,31 +24,28 @@ jobs: runs-on: ubuntu-latest steps: - # Checkout the repository. - name: Checkout id: checkout uses: actions/checkout@v5 with: fetch-depth: 0 - # Setup Node.js using the version specified in `.node-version`. - name: Setup Node.js id: setup-node - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version-file: .node-version cache: npm - # Install dependencies using `npm ci`. - name: Install Dependencies id: install run: npm ci - # Lint the codebase using the `super-linter/super-linter` action. - name: Lint Codebase id: super-linter uses: super-linter/super-linter/slim@v8 env: + CHECKOV_FILE_NAME: .checkov.yml DEFAULT_BRANCH: main FILTER_REGEX_EXCLUDE: dist/**/* GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}