-
Notifications
You must be signed in to change notification settings - Fork 390
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
Message "DeprecationWarning: Buffer() is deprecated due to security and usability issues" when running createComment #202
Comments
I recently saw this and after a bit of digging the situation is currently this:
This is the point where things break down. Basically the last So I guess what needs to happen is |
Relevant PR: octokit/request.js#422 |
This issue is stale because it has been open for 60 days with no activity. Remove the "Stale" label or comment on the issue, or it will be closed in 7 days. |
This issue has been marked as stale and closed due to no activity on it. |
I'm not entirely sure, but after some digging today it seems that |
Actually it seems with the recent update of |
Describe the bug
I am getting the following message printing out in the Actions log when I run "github.rest.issues.createComment".
(node:1609) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
I noticed that this also happens for some other comamnds
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I don't expect to see a message like that, as that actually portraits that the Action does not follow a safe guideline.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: