From a3de411b6dda9af135ef9880b27a277701085df7 Mon Sep 17 00:00:00 2001 From: Onkar Hanumante Date: Thu, 15 Feb 2024 13:22:41 +0530 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 372505c5214..59736172cfa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,8 +42,9 @@ jobs: -H "X-GitHub-Api-Version: 2022-11-28" \ /repos/onkarvhanumante/prebid-server/collaborators/${{ github.actor }}/permission) user_permission=$(echo $collaboratorPermission | jq '.permission') + echo $user_permission # check if user_permission is write or admin - if [ $user_permission == "write" ] || [ $user_permission == "admin" ]; then + if [ $user_permission == "\"write\"" ] || [ $user_permission == "\"admin\"" ]; then echo "hasWritePermission=true" >> $GITHUB_OUTPUT else echo "hasWritePermission=false" >> $GITHUB_OUTPUT