Skip to content

Commit

Permalink
print payload
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 21, 2023
1 parent 986d77d commit 4b0b22a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18268,6 +18268,8 @@ const run = async (context) => {
repo: core.getInput('repo') || payload.repository.full_name,
meta: { user: login }
}
console.log('=== payload ===')
console.dir(payload)
return got.post('https://events.stg.cto.ai/', {
headers: {
Authorization: `Bearer ${token}`,
Expand Down
2 changes: 2 additions & 0 deletions src/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ const run = async (context) => {
repo: core.getInput('repo') || payload.repository.full_name,
meta: { user: login }
}
console.log('=== payload ===')
console.dir(payload)
return got.post('https://events.stg.cto.ai/', {
headers: {
Authorization: `Bearer ${token}`,
Expand Down

0 comments on commit 4b0b22a

Please sign in to comment.