Skip to content

Commit

Permalink
fix: only console.log used attributes
Browse files Browse the repository at this point in the history
The PR output was massive and not so helpful. Let's just output the
attributes we use in our logic.
  • Loading branch information
wassimk committed Jun 4, 2024
1 parent 3d6d16f commit 3e1dc84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ async function run() {
const assignees = pr.assignees
const author = pr.user

console.log(`pr: ${JSON.stringify(pr, undefined, 2)}`)
console.log(`assignees: ${JSON.stringify(assignees, undefined, 2)}`)
console.log(`author: ${JSON.stringify(author, undefined, 2)}`)

if (
(!assignees || assignees.length === 0) &&
Expand Down

0 comments on commit 3e1dc84

Please sign in to comment.