Skip to content

Commit 7a20e0a

Browse files
justinchubyankitm3k
authored andcommitted
[CI] Set up proper permissions for linting workflow (microsoft#22696)
Allow writing security events to post lint messages on PRs.
1 parent fa0f88c commit 7a20e0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
# Required workflow
3838
name: Python format
3939
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
40+
permissions:
41+
contents: read
42+
security-events: write
4043
steps:
4144
- uses: actions/checkout@v4
4245
- name: Setup Python

0 commit comments

Comments
 (0)