-
Notifications
You must be signed in to change notification settings - Fork 370
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 action specific debugging option #284
Comments
I am not sure that this is possible. 😞 The logs are currently provided by the @actions/core dependency which require like you said @ktbarrett this configuration to display the logs. So basically, any other dependencies using the same dependency require this and if you enable the log, you do it for all of them. |
I see. After looking into the code I see the logging is really just generating logging commands to run, which are consumed by the runner. Secrets are the only way to communicate with the runner. I guess that means the only way this could be accomplished is by having a configuration option to decide to use |
@ktbarrett may I suggest you to wait until the next release? |
I might wait longer than that seeing as I don't know JS/TS 😄
This was going to be a follow on question. We have gotten this action to work with Thanks for your responses! Feel free to do what you would like with this issue. |
@ktbarrett |
I did use the |
@ktbarrett could you try to update the config as follow:
And change the cron to:
|
Maybe that's a misconception of mine. Is operations-per-run the number of PR or issues checked, regardless if an action occurs? Or is it the maximum number of actions done? I set it low because the first couple days I got 100 notifications. |
@ktbarrett each time the stale workflow needs to interact with the GitHub API it will consume one operation. |
The issue was that |
@ktbarrett nice to see that's settle. Indeed some other users recently has the issue as well and the option was confusing. The documentation was updated to solve this and the option |
I need to debug the stale action in cocotb since it's no longer working and I'm not getting any error or warning messages. I saw in the README that the recommendation for debugging this action is to set the
ACTIONS_STEP_DEBUG
secret totrue
. However, that has a global effect; I don't want debugging output on my other workflows. It also requires participation by the owner, since I don't have access to the secrets. I think it would be beneficial if there was a way to enable debugging this action alone, without resorting toACTIONS_STEP_DEBUG
.I don't know much about how actions are written, and I understand there is a chicken and egg problem here with debug logs occurring before the configuration is parsed. I'm only interested in debugging the action's decision making process, which I would expect occurs after configuration processing. I am not as interested in the rest of the debug information.
The text was updated successfully, but these errors were encountered: