Skip to content

Commit

Permalink
Update scorecard workflow to latest
Browse files Browse the repository at this point in the history
Note that we tried this before in PR microsoft#1161 and had to revert it in PR microsoft#1174
but the issue it was blocked on seems to be fixed and this should fix
the various scorecard failures we are now seeing.

MsQuic which originally did the same as we did already snapped to latest
as can be seen at
https://github.com/microsoft/msquic/blob/main/.github/workflows/scorecards-analysis.yml
and its scorecard runs are passing.

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
  • Loading branch information
dthaler committed Apr 26, 2023
1 parent 6abbb51 commit e53fd5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/scorecards-analysis.yml
Expand Up @@ -27,6 +27,7 @@ jobs:
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
id-token: write
actions: read
contents: read

Expand All @@ -50,7 +51,7 @@ jobs:

- name: "Run analysis"
if: github.ref_name == 'main'
uses: ossf/scorecard-action@b614d455ee90608b5e36e3299cd50d457eb37d5f # Don't update this until they fix PR support
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2
with:
results_file: results.sarif
results_format: sarif
Expand Down

0 comments on commit e53fd5c

Please sign in to comment.