Skip to content

Commit

Permalink
Set codeql category for debian images (#400)
Browse files Browse the repository at this point in the history
Since we are now uploading two files per matrix job, we need to provide
a custom `category` so that GitHub codeql can differentiate the runs.

Fixes #399
  • Loading branch information
julienp authored Feb 4, 2025
1 parent ff8be44 commit c47b339
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/snyk-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ jobs:
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: out.sarif
category: pulumi-${{ matrix.sdk }}${{ matrix.suffix }}-debian-amd64
- name: Set image name - arm64
run: |
echo "IMAGE_NAME=${{ env.DOCKER_ORG }}/pulumi-${{ matrix.sdk }}${{ matrix.suffix }}:${{ env.PULUMI_VERSION }}-debian-arm64" >> $GITHUB_ENV
Expand All @@ -189,6 +190,7 @@ jobs:
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: out.sarif
category: pulumi-${{ matrix.sdk }}${{ matrix.suffix }}-debian-arm64

ubi-sdk:
name: UBI SDK images
Expand Down

0 comments on commit c47b339

Please sign in to comment.