Skip to content

Commit

Permalink
Add log lines in release workflow (prebid#3504)
Browse files Browse the repository at this point in the history
  • Loading branch information
onkarvhanumante authored Feb 15, 2024
1 parent e37154b commit 902d262
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/helpers/pull-request-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,8 @@ class userHelper {
repo: this.repo,
username: this.owner,
})
return data.permission === adminPermission || data.permission === writePermission
console.log(JSON.stringify(data))
return data.permission === writePermission || data.permission === adminPermission
}
}

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ jobs:
return hasPermission
outputs:
hasWritePermission: ${{ steps.check.outputs.result }}

debug-step:
name: Debug step
runs-on: ubuntu-latest
steps:
- name: Debug
run: echo ${{ needs.check-permission.outputs.hasWritePermission }}

build-master:
name: Build master
Expand Down

0 comments on commit 902d262

Please sign in to comment.