From 05ccfb2fd92af9f29ee32d29564d63379dcbbec0 Mon Sep 17 00:00:00 2001 From: Huy Do Date: Fri, 17 Jan 2025 09:47:49 -0800 Subject: [PATCH] Fix linux_job_v2 after https://github.com/pytorch/test-infra/pull/6104 --- .github/workflows/pull.yml | 3 +++ .github/workflows/trunk.yml | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 8b32e46cf2..b629a52e72 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -333,6 +333,9 @@ jobs: unittest-arm: uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main + permissions: + id-token: write + contents: read with: runner: linux.2xlarge docker-image: executorch-ubuntu-22.04-arm-sdk diff --git a/.github/workflows/trunk.yml b/.github/workflows/trunk.yml index 90bd0eb6ef..0cbbe6f643 100644 --- a/.github/workflows/trunk.yml +++ b/.github/workflows/trunk.yml @@ -132,6 +132,9 @@ jobs: test-arm-backend-delegation: name: test-arm-backend-delegation uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main + permissions: + id-token: write + contents: read with: runner: linux.2xlarge docker-image: executorch-ubuntu-22.04-arm-sdk @@ -159,6 +162,9 @@ jobs: test-arm-reference-delegation: name: test-arm-reference-delegation uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main + permissions: + id-token: write + contents: read with: runner: linux.2xlarge docker-image: executorch-ubuntu-22.04-arm-sdk