1
0
mirror of https://github.com/bitwarden/server synced 2025-12-06 00:03:34 +00:00

Temporarily hold sarif uploads (#6166)

This commit is contained in:
Matt Andreko
2025-08-14 09:30:12 -04:00
committed by GitHub
parent 43d753dcb1
commit 4e6a036f22
2 changed files with 8 additions and 6 deletions

View File

@@ -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

View File

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