Skip to content

Commit

Permalink
chore: add debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
hayawata3626 committed Oct 16, 2023
1 parent 5e912ba commit 3ea93ca
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions dist/index.js

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

4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ export async function run(): Promise<void> {
const pullNumber: number = github.context.payload.pull_request
?.number as number
const GITHUB_TOKEN: string = core.getInput('github-token')
console.log('conditionsInput', conditionsInput)
console.log('owner', conditionsInput)
console.log('repo', conditionsInput)
console.log('pullNumber', pullNumber)

const response = await axios.get(
`https://api.github.com/repos/${owner}/${repo}/pulls/${pullNumber}/reviews`,
Expand Down

0 comments on commit 3ea93ca

Please sign in to comment.