-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add debug option #22
Add debug option #22
Conversation
@@ -28,3 +28,4 @@ jobs: | |||
uses: ./ | |||
with: | |||
threshold: 4 | |||
debug: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test comment
it shows the option 👍
option {
token: '***',
prNumber: 22,
threshold: 4,
debug: true
}
https://github.com/tnyo43/recommend-mobpro-action/actions/runs/8360187697/job/22885284100
@@ -13,6 +13,9 @@ inputs: | |||
exceeds this' | |||
required: true | |||
default: 25 | |||
debug: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test comment
Because I removed "debug: true" in 2f6419f, it doesn't show the option 👍
https://github.com/tnyo43/recommend-mobpro-action/actions/runs/8360274711/job/22885574892
This reverts commit 2f6419f.
}; | ||
|
||
if (debug) { | ||
console.log('******* DEBUG is ENABLED *******'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test comment
it shows decoration message 👍
******* DEBUG is ENABLED *******
option {
token: '***',
prNumber: 22,
threshold: 4,
debug: true
}
https://github.com/tnyo43/recommend-mobpro-action/actions/runs/8360310333/job/22885693513
No description provided.