Skip to content

Commit

Permalink
Add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ncalteen committed Feb 22, 2024
1 parent a747f2b commit a310020
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export async function isFirstIssue(
actor
}
)
core.debug(JSON.stringify(response))

// The GraphQL API differentiates between issues and pull requests, so the
// response should include a single issue (the one that triggered this action)
Expand Down Expand Up @@ -185,7 +186,7 @@ export async function isFirstPullRequest(
cursor
}
)
core.info(JSON.stringify(response))
core.debug(JSON.stringify(response))

// The GraphQL API doesn't support filtering PRs by creator. The response may
// contain many PRs. This is the actor's first PR if there is only with their
Expand Down

0 comments on commit a310020

Please sign in to comment.