Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
onkarvhanumante authored Feb 15, 2024
1 parent bc921e6 commit a3de411
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3de411

Please sign in to comment.