jwalton/gh-find-current-pr

Update action to use updated version of Node

jjoynson-iw opened this issue ยท 3 comments

Seeing the following warning message when using this action:

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: jwalton/gh-find-current-pr

Looks like the version is set here: https://github.com/jwalton/gh-find-current-pr/blob/master/action.yml#L27

Thanks for the heads up! I'll update this sometime this week. I've been wanting to migrate this to TypeScript too - see if I can do that at the same time.

Hello, there appears to be another deprecation warning regarding set-output - which this action triggers 5x due to:

https://github.com/jwalton/gh-find-current-pr/blob/master/main.js#L21
https://github.com/jwalton/gh-find-current-pr/blob/master/main.js#L23
https://github.com/jwalton/gh-find-current-pr/blob/master/main.js#L25
https://github.com/jwalton/gh-find-current-pr/blob/master/main.js#L27
https://github.com/jwalton/gh-find-current-pr/blob/master/main.js#L28

Warning: The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

I believe this would be fixed if the @actions/core dependency is upgraded to 1.10.0, or using environment files

๐ŸŽ‰ This issue has been resolved in version 1.3.1 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€