Skip to content

Node.js 12 deprecation warning in semantic-pull-request #611

@MikeMcC399

Description

@MikeMcC399

Problem description

Workflow .github/workflows/semantic-pull-request.yml produces a deprecation warning, for example in 6294797314

"Lint Title
The following actions uses node12 which is deprecated and will be forced to run on node16: cypress-io/action-semantic-pull-request@v4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/"

Analysis

.github/workflows/semantic-pull-request.yml

- uses: cypress-io/action-semantic-pull-request@v4

https://github.com/cypress-io/action-semantic-pull-request/blob/v4/action.yml v4

runs:
  using: 'node12'
  main: 'dist/index.js'

This is the latest available version on cypress-io/action-semantic-pull-request so there is no version of this fork available which specifies node16.

The parent repository amannn/action-semantic-pull-request has however been updated and there is a v5 version available which uses node20 and resolves deprecations. See CHANGELOG.

Suggestion

  1. Make v5 available on cypress-io/action-semantic-pull-request
  2. Update .github/workflows/semantic-pull-request.yml to - uses: cypress-io/action-semantic-pull-request@v5 when this is made available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions