Browse Source

Revert "Temporarily hold sarif uploads (#6166)" (#6222)

pull/6224/head
Matt Andreko 4 months ago committed by GitHub
parent
commit
7a6fa5a457
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 12
      .github/workflows/build.yml
  2. 2
      .github/workflows/scan.yml

12
.github/workflows/build.yml

@ -275,12 +275,12 @@ jobs: @@ -275,12 +275,12 @@ jobs:
fail-build: false
output-format: sarif
# - name: Upload Grype results to GitHub
# uses: github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
# with:
# sarif_file: ${{ steps.container-scan.outputs.sarif }}
# sha: ${{ contains(github.event_name, 'pull_request') && github.event.pull_request.head.sha || github.sha }}
# ref: ${{ contains(github.event_name, 'pull_request') && format('refs/pull/{0}/head', github.event.pull_request.number) || github.ref }}
- name: Upload Grype results to GitHub
uses: github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
with:
sarif_file: ${{ steps.container-scan.outputs.sarif }}
sha: ${{ contains(github.event_name, 'pull_request') && github.event.pull_request.head.sha || github.sha }}
ref: ${{ contains(github.event_name, 'pull_request') && format('refs/pull/{0}/head', github.event.pull_request.number) || github.ref }}
- name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main

2
.github/workflows/scan.yml

@ -38,8 +38,6 @@ jobs: @@ -38,8 +38,6 @@ jobs:
pull-requests: write
security-events: write
id-token: write
with:
upload-sarif: false
quality:
name: Sonar

Loading…
Cancel
Save