From 689ee2ada5350574e3939bc56c78ada9901c02fb Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Fri, 28 Feb 2025 19:39:08 +0100 Subject: [PATCH] fix(workflows/pr-review-companion): fix permissions --- .github/workflows/pr-review-companion.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/pr-review-companion.yml b/.github/workflows/pr-review-companion.yml index 274c0080a236919..c57d77a4fa16e79 100644 --- a/.github/workflows/pr-review-companion.yml +++ b/.github/workflows/pr-review-companion.yml @@ -11,11 +11,20 @@ on: types: - completed + workflow_call: + secrets: + GCP_PROJECT_NAME: + required: true + WIP_PROJECT_ID: + required: true + permissions: # Download artifact. actions: read # Post comment in pull request. pull-requests: write + # Authenticate with GCP. + id-token: write jobs: review: