cristiammercado / cm-backport-pr

Backport from a branch to another using a pull request.
MIT License
2 stars 2 forks source link

v1.0.0 uses deprecated "set-output" Github Actions command #1

Open RupertBarrow opened 1 year ago

RupertBarrow commented 1 year ago

This is my log :

Run cristiammercado/cm-backport-pr@1.0.0 Starting cm-backport-pr action at Sat Jun 17 2023 17:48:52 GMT+0000 (Coordinated Universal Time)... Reading input parameters from GitHub workflow... Validating input parameters... Input parameters validation passed successfully Started Octokit REST API client with auth token Checking if there is a open PR in repo owner/repo from main to rbw-main-for-117... An active PR was found: # 118 (https://github.com/owner/repo/pull/118) (draft: false) Updating PR in repo owner/repo (PR Number: 118)... Updated PR: # 118 (https://github.com/owner/repo/pull/118) (draft: false)

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/[20](https://github.com/owner/repo/actions/runs/5299416856/jobs/9592357580#step:4:21)[22](https://github.com/owner/repo/actions/runs/5299416856/jobs/9592357580#step:4:23)-10-11-github-actions-deprecating-save-state-and-set-output-commands/

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/

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/

RupertBarrow commented 1 year ago

According to this https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ we need to upgrade to "upgrade @actions/core package to v1.10.0 or greater to get the updated saveState and setOutput functions".