Skip to content

Commit

Permalink
Add dismiss warnings for codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
langera committed Jun 17, 2024
1 parent 17c338a commit c65db35
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
push:
branches:
- master
- 'release/**'
- release/**
pull_request:
types: [opened, synchronize]
branches:
- master
- 'release/**'
- release/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -42,15 +42,18 @@ jobs:
languages: ${{ matrix.language }}
queries: +security-and-quality
config-file: ./.github/codeql/codeql-config.yml
packs: "codeql/${{ matrix.language }}-queries:AlertSuppression.ql"

- name: Autobuild
uses: github/codeql-action/autobuild@v3
if: ${{ matrix.language == 'java' }}

- name: Perform CodeQL Analysis
id: analyze
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"
upload: false
output: sarif-results

- name: Dismiss alerts
Expand Down

0 comments on commit c65db35

Please sign in to comment.