From 8e28dc27da2262e36bece08eba45de21bc90720e Mon Sep 17 00:00:00 2001 From: Huy Do Date: Fri, 17 Jan 2025 10:30:36 -0800 Subject: [PATCH] Fix linux_job_v2 after https://github.com/pytorch/test-infra/pull/6104 (#7731) (cherry picked from commit ce77ee7c4363d6c370c5e52da2b85f67f70943d1) --- .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 f628946fe2a..f890be748d7 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 4dacb9c3977..556f73bdd13 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