community-plugins icon indicating copy to clipboard operation
community-plugins copied to clipboard

🔧 Repository: Warnings of deprecated Node.js versions in various GitHub Actions

Open awanlin opened this issue 1 year ago • 3 comments

📜 Description

There are Warnings of deprecated Node.js versions in various GitHub Actions being used by this repo.

👍 Expected behavior

There are no warnings about deprecated Node.js versions in various GitHub Actions being used by this repo.

👎 Current Behavior

The following GitHub Actions have warnings:

  • Release workspace: The following actions uses node12 which is deprecated and will be forced to run on node16: backstage/changesets-action@291bfc1f76d1dcfbf967f5810dc0423592eae09a. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
  • Automated changeset feedback: The following actions use a deprecated Node.js version and will be forced to run on node20: backstage/actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
  • Automated Renovate changeset: The following actions use a deprecated Node.js version and will be forced to run on node20: backstage/actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
  • Cron: The following actions use a deprecated Node.js version and will be forced to run on node20: backstage/actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
  • PR: The following actions use a deprecated Node.js version and will be forced to run on node20: backstage/actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
  • Release all workspaces: The following actions uses node12 which is deprecated and will be forced to run on node16: backstage/changesets-action@291bfc1f76d1dcfbf967f5810dc0423592eae09a. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
  • Renovate Cron: The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, dawidd6/action-download-artifact@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

👟 Reproduction steps

Look at any of the listed actions under Current Behavior, these will all have the warning. You can run them again to see the warning is there.

📃 Provide the context for the Bug.

In some cases these are using a very old version of Node, we should stay up to date to avoid any issues.

👀 Have you spent some time to check if this bug has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

Yes I am willing to submit a PR!

awanlin avatar Sep 09 '24 23:09 awanlin

Some of these should be resolved by this PR https://github.com/backstage/actions/pull/156 and then updating the actions here to use the updated version.

awanlin avatar Sep 09 '24 23:09 awanlin

This PR will address the Renovate Cron action: https://github.com/backstage/community-plugins/pull/1195

awanlin avatar Sep 09 '24 23:09 awanlin

Looks like if we can update this fork with the latest that would get us the needed Node 20 upgrade as well: https://github.com/backstage/changesets-action

awanlin avatar Sep 09 '24 23:09 awanlin

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 09 '24 00:11 github-actions[bot]