Skip to content

Commit

Permalink
feat(RELEASE-951): integrate Checkton for linting
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
seanconroy2021 committed Jul 9, 2024
1 parent 46f3ccc commit bc2e9af
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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

0 comments on commit bc2e9af

Please sign in to comment.