Skip to content

Commit

Permalink
[CI] Set up proper permissions for linting workflow (#22696)
Browse files Browse the repository at this point in the history
Allow writing security events to post lint messages on PRs.
  • Loading branch information
justinchuby authored Nov 2, 2024
1 parent 62c3476 commit 6d5e970
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
# Required workflow
name: Python format
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- name: Setup Python
Expand Down

0 comments on commit 6d5e970

Please sign in to comment.