From bc2e9af9a44b0d61162ca8642e530a7c82527d88 Mon Sep 17 00:00:00 2001 From: Sean Conroy Date: Tue, 11 Jun 2024 09:58:54 +0100 Subject: [PATCH] feat(RELEASE-951): integrate Checkton for linting This updats the linting workflow by adding Checkton. Checkton will review code for linting errors. Changes: * Added a step to the workflow to run Checkton. * Configured Checkton to upload the SARIF report. Signed-off-by: Sean Conroy --- .github/workflows/lint.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index e003503..6aaef8f 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -50,3 +50,20 @@ jobs: run: python -m pip install gitlint - name: Run gitlint check run: gitlint --commits origin/${{ github.event.pull_request.base.ref }}..HEAD + checkton: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Run Checkton + id: checkton + uses: chmeliik/checkton@v0.1.2 + with: + fail-on-findings: false + - name: Upload SARIF File + uses: github/codeql-action/upload-sarif@v3 + with: + sarif_file: ${{ steps.checkton.outputs.sarif }} + category: checkton