diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3afedd581ac..b158ed65f4d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,6 +12,9 @@ on: jobs: python-source-and-configs: uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main + permissions: + id-token: write + contents: read with: repository: pytorch/vision test-infra-ref: main @@ -39,6 +42,9 @@ jobs: c-source: uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main + permissions: + id-token: write + contents: read with: repository: pytorch/vision test-infra-ref: main