mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Fix a perm issue in Windows Static Analysis pipeline (#21100)
### Description Due to a security setting change, now we need to explicitly set the permissions. I forgot doing that when bringing the old change back. ### Motivation and Context Now the pipeline cannot publish scanning result to Github
This commit is contained in:
parent
3ae5df1d18
commit
8b9656717b
1 changed files with 6 additions and 0 deletions
6
.github/workflows/sca.yml
vendored
6
.github/workflows/sca.yml
vendored
|
|
@ -16,6 +16,8 @@ env:
|
|||
|
||||
jobs:
|
||||
Onnxruntime-SCA-training-CUDA:
|
||||
permissions:
|
||||
security-events: write
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-vs2022-mms"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -57,6 +59,8 @@ jobs:
|
|||
|
||||
# No python
|
||||
Onnxruntime-SCA-win32-WINML-x64:
|
||||
permissions:
|
||||
security-events: write
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-vs2022-mms"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -95,6 +99,8 @@ jobs:
|
|||
|
||||
# No java, No python
|
||||
Onnxruntime-SCA-win32-WINML-x86:
|
||||
permissions:
|
||||
security-events: write
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-vs2022-mms"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
|||
Loading…
Reference in a new issue