Skip to content
10 changes: 10 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

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

- name: Prepare upload artifact
run: |
echo "artifacts_path=$(dirname ${{ github.workspace }})" >> $GITHUB_ENV
- name: Upload CodeQL results
uses: actions/upload-artifact@v4
with:
name: codeql-results-${{ matrix.language }}
path: ${{ env.artifacts_path }}/results/*.sarif