Skip to content

NodeJS runtime deprecation notice in Github Actions #107

@mglinski

Description

@mglinski

I got this notice in my actions log when running this.

The following actions use a deprecated Node.js version and will be forced to run on node20: gr2m/merge-schedule-action@v2. 
For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Is there anything that would block an update to bump the nodejs version? If not, I will submit a PR to update it.

EDIT

Looking into recent releases, it seems that a bump to use node v20 was already completed. Is there something I need to do to ensure I am using the latest version of the runner? Here are the output logs from the action:

2024-10-29T17:23:12.0662441Z Current runner version: '2.320.0'
2024-10-29T17:23:12.0688581Z ##[group]Operating System
2024-10-29T17:23:12.0689276Z Ubuntu
2024-10-29T17:23:12.0689630Z 22.04.5
2024-10-29T17:23:12.0690070Z LTS
2024-10-29T17:23:12.0690439Z ##[endgroup]
2024-10-29T17:23:12.0690787Z ##[group]Runner Image
2024-10-29T17:23:12.0691327Z Image: ubuntu-22.04
2024-10-29T17:23:12.0691744Z Version: 20241015.1.0
2024-10-29T17:23:12.0692746Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20241015.1/images/ubuntu/Ubuntu2204-Readme.md
2024-10-29T17:23:12.0694253Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20241015.1
2024-10-29T17:23:12.0695153Z ##[endgroup]
2024-10-29T17:23:12.0695550Z ##[group]Runner Image Provisioner
2024-10-29T17:23:12.0696078Z 2.0.384.1
2024-10-29T17:23:12.0696447Z ##[endgroup]
2024-10-29T17:23:12.0712953Z ##[group]GITHUB_TOKEN Permissions
2024-10-29T17:23:12.0714720Z Actions: write
2024-10-29T17:23:12.0715514Z Attestations: write
2024-10-29T17:23:12.0716017Z Checks: write
2024-10-29T17:23:12.0716494Z Contents: write
2024-10-29T17:23:12.0716849Z Deployments: write
2024-10-29T17:23:12.0717268Z Discussions: write
2024-10-29T17:23:12.0717730Z Issues: write
2024-10-29T17:23:12.0718057Z Metadata: read
2024-10-29T17:23:12.0718495Z Packages: write
2024-10-29T17:23:12.0718953Z Pages: write
2024-10-29T17:23:12.0719295Z PullRequests: write
2024-10-29T17:23:12.0719730Z RepositoryProjects: write
2024-10-29T17:23:12.0720247Z SecurityEvents: write
2024-10-29T17:23:12.0720623Z Statuses: write
2024-10-29T17:23:12.0721026Z ##[endgroup]
2024-10-29T17:23:12.0724650Z Secret source: Actions
2024-10-29T17:23:12.0725264Z Prepare workflow directory
2024-10-29T17:23:12.1352732Z Prepare all required actions
2024-10-29T17:23:12.1510613Z Getting action download info
2024-10-29T17:23:12.3277594Z Download action repository 'gr2m/merge-schedule-action@v2' (SHA:4575b62e8af729a3d4a0f0341d2515ae9d4ab908)
2024-10-29T17:23:12.6307536Z Complete job name: merge_schedule
2024-10-29T17:23:12.7523781Z ##[group]Run gr2m/merge-schedule-action@v2
2024-10-29T17:23:12.7524618Z with:
2024-10-29T17:23:12.7524999Z   merge_method: merge
2024-10-29T17:23:12.7525448Z   time_zone: America/Los_Angeles
2024-10-29T17:23:12.7526040Z   require_statuses_success: true
2024-10-29T17:23:12.7526595Z   automerge_fail_label: scheduled-merge-failed
2024-10-29T17:23:12.7527213Z env:
2024-10-29T17:23:12.7527887Z   GITHUB_TOKEN: ***
2024-10-29T17:23:12.7528314Z ##[endgroup]
2024-10-29T17:23:13.0189186Z Handling pull request edited for https://github.com/Nomolotus/truvani-2020-shopify-theme/pull/1923
2024-10-29T17:23:13.2209223Z Schedule date found: "2024-10-30T01:00:00"
2024-10-29T17:23:13.2837803Z Comment already up to date
2024-10-29T17:23:13.3257766Z Cleaning up orphan processes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions