Skip to content
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

debug: true does nothing. #265

Closed
TWiStErRob opened this issue Jun 4, 2022 · 2 comments · Fixed by #358
Closed

debug: true does nothing. #265

TWiStErRob opened this issue Jun 4, 2022 · 2 comments · Fixed by #358
Labels
bug Something isn't working

Comments

@TWiStErRob
Copy link

TWiStErRob commented Jun 4, 2022

Describe the bug
debug: true does nothing.

To Reproduce
Steps to reproduce the behavior:

  1. Normal run without debugging: https://github.com/TWiStErRob/github-actions-test/runs/6740560658
  2. debug: false, all good
  3. Re-ran with Enable debug logging (see also Automatically turn on debugging #264): https://github.com/TWiStErRob/github-actions-test/runs/6740567848
  4. 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

description: Whether to tell the GitHub client to log details of its requests

Screenshots
debug: false
image]

debug: true
image

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.

@joshmgross joshmgross added the bug Something isn't working label Jun 16, 2022
@mjpieters
Copy link
Contributor

mjpieters commented 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-log plugin.

@TWiStErRob
Copy link
Author

Amazing @mjpieters, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants