From 86716c093f9717c6b7a4169583d05f6754650c5e Mon Sep 17 00:00:00 2001 From: amdfaa <107946068+amdfaa@users.noreply.github.com> Date: Tue, 21 Jan 2025 10:54:09 -0600 Subject: [PATCH] Fix linux_job_v2 after https://github.com/pytorch/test-infra/pull/6104 (#8872) --- .github/workflows/lint.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 22ada97fba8..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 @@ -66,6 +72,9 @@ jobs: python-types: 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