Fix OSSAR permissions.
This commit is contained in:
parent
42dd403d28
commit
14ac41c73a
1 changed files with 3 additions and 1 deletions
4
.github/workflows/ossar.yml
vendored
4
.github/workflows/ossar.yml
vendored
|
@ -22,6 +22,8 @@ jobs:
|
||||||
# OSSAR runs on windows-latest.
|
# OSSAR runs on windows-latest.
|
||||||
# ubuntu-latest and macos-latest support coming soon
|
# ubuntu-latest and macos-latest support coming soon
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
permissions:
|
||||||
|
security-events: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@ -44,6 +46,6 @@ jobs:
|
||||||
|
|
||||||
# Upload results to the Security tab
|
# Upload results to the Security tab
|
||||||
- name: Upload OSSAR results
|
- name: Upload OSSAR results
|
||||||
uses: github/codeql-action/upload-sarif@v1
|
uses: github/codeql-action/upload-sarif@v2
|
||||||
with:
|
with:
|
||||||
sarif_file: ${{ steps.ossar.outputs.sarifFile }}
|
sarif_file: ${{ steps.ossar.outputs.sarifFile }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue