imjohnbo / issue-bot

GitHub Actions powered Issue Bot 🦾
https://github.com/imjohnbo/issue-bot
MIT License
101 stars 31 forks source link

set-output deprecated #81

Closed neleshgoel closed 1 year ago

neleshgoel commented 2 years ago

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/

imjohnbo commented 2 years ago

Thanks for opening, @neleshgoel! I'm guessing this is referring to https://github.com/actions/toolkit/issues/1218, since none of the example workflows use an explicit set-output but these lines in index.js use the setOutput function, which in turn seems to call set-output. Let me know if you see something different 🙏.

https://github.com/imjohnbo/issue-bot/blob/512b3ba886579e83371062c2dd72e34e9f132e9c/lib/issue-bot.js#L459-L471

sadikassistivlabs commented 1 year ago

@imjohnbo does that PR I made to update @actions/core seem like it will fix this based on your analysis?