debug: true does nothing. #265
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
debug: true does nothing.
To Reproduce
Steps to reproduce the behavior:
- Normal run without debugging: https://github.com/TWiStErRob/github-actions-test/runs/6740560658
debug: false, all good- Re-ran with Enable debug logging (see also Automatically turn on debugging #264): https://github.com/TWiStErRob/github-actions-test/runs/6740567848
debug: true, but nothing output
I also tried without accessing the secret, hardcoding it too many times, but nothing.
Here's example: TWiStErRob/net.twisterrob.sun@33b74f6
See the "Publish "Gradle" result and Build Scan URL." step right after the failure.
Expected behavior
As documented
Line 16 in 7a5c598
| description: Whether to tell the GitHub client to log details of its requests |
Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome
- Version latest
Additional context
I have a repo where the code shown in the example doesn't create a commit status, and trying to debug it. Without debug: true working, I'm giving up.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working


Activity
mjpieters commentedon Mar 30, 2023
The action correctly configures octokit, but nothing in the current plugin list uses logging (other than warnings, which are not affected by the debug flag).
Probably the easiest way to make it actually do anything with logging is to also add the
@octokit/plugin-request-logplugin.TWiStErRob commentedon Apr 4, 2023
Amazing @mjpieters, thanks!