Closed iamstarkov closed 1 year ago
Thank you @iamstarkov for reporting this.
We do not use Buffer directly. It's used via GitHub API tools. They might need to be updated. I will have a look.
Can you tell me which version of the nx-set-shas you are using?
I'm getting the same warning and I'm using latest version with tag nrwl/nx-set-shas@v2
@meeroslav latest v2
Run nrwl/nx-set-shas@v2
[34](https://github.com/nordnet-private/monorepo-cms/runs/8092993037?check_suite_focus=true#step:9:35)
Run node $GITHUB_ACTION_PATH/dist/index.js *** master false push .
[63](https://github.com/nordnet-private/monorepo-cms/runs/8092993037?check_suite_focus=true#step:9:64)
[63](https://github.com/nordnet-private/monorepo-cms/runs/8092993037?check_suite_focus=true#step:9:65)
(node:473) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[64](https://github.com/nordnet-private/monorepo-cms/runs/8092993037?check_suite_focus=true#step:9:66)
(Use `node --trace-deprecation ...` to show where the warning was created)
Here is the deprecation notice from github: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
So @actions/core needs to be updated to v1.10.0
@meeroslav is this issue still more info needed
or is it actionable now?
This will be fixed with https://github.com/nrwl/nx-set-shas/pull/71
Hello, in my GitHub actions with Node.js 16.16.0 build I see this error. I suspect it will stop working in the future.
Please take a look and let me know if you need any help of have any questions