action-get-merged-pull-request
action-get-merged-pull-request copied to clipboard
Github issues warning regarding set-output when action is run
What happened
Github workflow displays 5 warnings with the following information:
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/
What you expected to happen
No warnings should appear on successful run.
How to reproduce
Use actions-ecosystem/[email protected] in a workflow that runs when a Pull Request is merged.
How to resolve
Per the github blog:
Action authors who are using the toolkit should update the @actions/core package to v1.10.0 or greater to get the updated saveState and setOutput functions.
This will remove the warnings as shown above. Github has stated that non-updated actions will fail with an error as of ~1st June 2023~ a future date. #437 looks to be related to this issue.
Environment
Any
@micnncim Allegedly, this is being deprecated soon. Any updates?
Update from GH:
Our telemetry shows significant usage of these commands. Given the number of impacted customers we are postponing the removal.
I will continue to monitor GH communications and modify my report if they provide a new date