New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js 12 deprecation warning in semantic-pull-request #611
Comments
I opened the issue here, because issues are not enabled on the https://github.com/cypress-io/action-semantic-pull-request repo. The next step would be to create a PR on https://github.com/cypress-io/action-semantic-pull-request repo to sync to |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
The deprecation warning has been re-instated:
so I'm re-opening the issue. Both Node.js Edit: |
There is a new announcement on https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ At this time The least-effort strategy is to monitor deprecation warnings and to make no changes unless / until something breaks. |
The workflow semantic-pull-request.yml currently provokes two deprecation warnings, here displayed first as a screenshot: and here as text with hyperlinks:
|
The GitHub blog post GitHub Actions; All Actions will run on Node20 instead of Node16 by default announces that all actions are forced to run under Node.js |
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
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 usesnode20
and resolves deprecations. See CHANGELOG.Suggestion
v5
available on cypress-io/action-semantic-pull-request- uses: cypress-io/action-semantic-pull-request@v5
when this is made available.The text was updated successfully, but these errors were encountered: