From 70ea7b20bcb22a830458b296dd4587e59373c61f Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Wed, 11 Dec 2024 18:16:33 +0530 Subject: [PATCH] chore: add permissions secton --- .github/workflows/update-cache-policy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/update-cache-policy.yml b/.github/workflows/update-cache-policy.yml index 36e2f93b6..5197fd4f3 100644 --- a/.github/workflows/update-cache-policy.yml +++ b/.github/workflows/update-cache-policy.yml @@ -16,6 +16,10 @@ on: type: string required: true +permissions: + id-token: write # allows the JWT to be requested from GitHub's OIDC provider + contents: read # This is required for actions/checkout + jobs: update-cache-policy: name: Update cache control policy for SDK artifacts