Skip to content

Commit

Permalink
Revert: 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 1ddea91 commit 17c338a
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,29 +50,14 @@ jobs:
id: analyze
uses: github/codeql-action/analyze@v3
with:
category: "/agrona"
category: "/language:${{ matrix.language }}"
output: sarif-results

- name: Upload SARIF
id: upload
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: sarif-results/${{ matrix.language }}.sarif
wait-for-processing: true

# optional: for debugging the uploaded sarif
- name: Upload loc as a Build Artifact
uses: actions/upload-artifact@v4
with:
name: sarif-results-${{ matrix.language }}
path: sarif-results
retention-days: 1

- name: Dismiss alerts
if: github.ref == 'refs/heads/master'
uses: advanced-security/dismiss-alerts@v1
with:
sarif-id: ${{ steps.upload.outputs.sarif-id }}
sarif-id: ${{ steps.analyze.outputs.sarif-id }}
sarif-file: sarif-results/${{ matrix.language }}.sarif
env:
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 17c338a

Please sign in to comment.