action.js icon indicating copy to clipboard operation
action.js copied to clipboard

Depreaction Warning :Buffer is deprecated due to security and usability issues

Open DeeptimayeeSethi opened this issue 3 years ago • 10 comments

We are using GitHub Actions for a pull request workflow , and We are getting below error in the PR-Process set up . Is it related to octokit ? Can someone help on this

error in PR

Also attaching raw logs Uploading error raw logs.txt…

DeeptimayeeSethi avatar Sep 15 '22 08:09 DeeptimayeeSethi

Hi there! 👋🏻 Are you able to share those logs? The attachment is missing. It would also be great to see the Actions workflow file if you're able to share.

timrogers avatar Sep 15 '22 10:09 timrogers

here is the workflow file workflow.txt

also attaching the raw logs error raw logs.txt

DeeptimayeeSethi avatar Sep 15 '22 14:09 DeeptimayeeSethi

This should have been fixed in #425

wolfy1339 avatar Sep 15 '22 14:09 wolfy1339

@DeeptimayeeSethi Can you check which version of the package you're using in your package-lock.json?

timrogers avatar Sep 15 '22 14:09 timrogers

I copied whole content in the text file package-lock.txt

DeeptimayeeSethi avatar Sep 16 '22 04:09 DeeptimayeeSethi

@wolfy1339 , the changes to resolve the issue has been done related to proxy agent. However, we are not using proxy, but using universal -user-agent. Any suggestions.

DeeptimayeeSethi avatar Sep 16 '22 06:09 DeeptimayeeSethi

@timrogers , I copied whole content in the text file package-lock.txt

Is there a way to synch up with you or call with you , to understand the issue

DeeptimayeeSethi avatar Sep 20 '22 07:09 DeeptimayeeSethi

Hi @DeeptimayeeSethi! 👋🏻 Just to confirm, is the issue here the Deprecation Warning itself? Or is it the "Not Found" branch? If the latter is what you're really worried about, that isn't related to the deprecation warning.

timrogers avatar Sep 20 '22 14:09 timrogers

@timrogers , The issue is with deprecation warning, sharing the error screenshot. You asked me about package-lock version. Does it has something to do with teh error we are getting? Can you help me find out?

error in PR

DeeptimayeeSethi avatar Sep 21 '22 07:09 DeeptimayeeSethi

Hi @DeeptimayeeSethi! Sorry for the delay in getting back to you. Looking at your package-lock.json and workflow file, it doesn't look like you are actually using this package:

const core = require('@actions/core');
const github = require('@actions/github');

Would you be able to create an issue on the relevant one of those repos?

timrogers avatar Sep 28 '22 12:09 timrogers

This issue is over 2 years old and with no response from the actual author

wolfy1339 avatar May 08 '24 17:05 wolfy1339