mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-01 03:45:06 +00:00
[CI] Set up proper permissions for linting workflow (#22696)
Allow writing security events to post lint messages on PRs.
This commit is contained in:
parent
62c3476822
commit
6d5e970642
1 changed files with 3 additions and 0 deletions
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue