From 308e1a08acb70984cd7af8c614805932cf091dae Mon Sep 17 00:00:00 2001 From: pytorchbot Date: Wed, 22 Jan 2025 16:07:48 -0600 Subject: [PATCH] Fix linux_job_v2 after https://github.com/pytorch/test-infra/pull/6104 (#7848) Fix linux_job_v2 after https://github.com/pytorch/test-infra/pull/6104 (#7731) (cherry picked from commit ce77ee7c4363d6c370c5e52da2b85f67f70943d1) Co-authored-by: Huy Do --- .github/workflows/pull.yml | 5 ++++- .github/workflows/trunk.yml | 10 ++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index f628946fe2..f890be748d 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -332,7 +332,10 @@ jobs: docker-image: executorch-ubuntu-22.04-clang12 unittest-arm: - uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.6 + 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 4dacb9c397..556f73bdd1 100644 --- a/.github/workflows/trunk.yml +++ b/.github/workflows/trunk.yml @@ -131,7 +131,10 @@ jobs: test-arm-backend-delegation: name: test-arm-backend-delegation - uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.6 + 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 @@ -157,7 +160,10 @@ jobs: test-arm-reference-delegation: name: test-arm-reference-delegation - uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.6 + 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