Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
Signed-off-by: Nitishkumar Singh <nitish@cto.ai>
  • Loading branch information
nitishkumar71 committed Sep 27, 2023
1 parent cd23b36 commit 514bfce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ const run = async (context) => {
core.setSecret(token)
core.setSecret(teamId)

console.log('== pull data from context ==')
console.log(`ref: ${currentCtx.ref}`)
console.log(`sha: ${currentCtx.sha}`)
const branch = core.getInput('branch') || (currentCtx.ref != null ? getBranchFromGithubRef(currentCtx.ref) : getBranch(eventName, payload))
const commit = core.getInput('commit') || (currentCtx.sha != null ? currentCtx.sha : getSha(eventName, payload))
const body = {
Expand Down

0 comments on commit 514bfce

Please sign in to comment.