(pr-linter-exemption-labeler): the pr-linter-exemption-labeler
action fails because of an older node version
#30212
Labels
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
package/tools
Related to AWS CDK Tools or CLI
pr/work-in-progress
This PR is a draft and needs further work.
Describe the bug
Hi team.
Sometimes, the
pr-linter-exemption-labeler
fails to execute because of an older version of Node.js.As a result, the
pr-linter/exemption-requested
label is not attached when an Exemption Request is submited in PR.For example
#30210
https://github.com/aws/aws-cdk/actions/runs/9098051208/job/25007366324
The error that occurs is described in the
octokit.js
README as occurring in cases where Node.js v18 or higher is not used.We are currently on v16. Is it possible to bump up to v18 or higher?
https://github.com/cdklabs/pr-linter-exemption-labeler/blob/main/action.yml
Expected Behavior
The
pr-linter/exemption-requested
label is correctly attached to the PR.Current Behavior
The
pr-linter/exemption-requested
label is not attached when submitting an Exemption Request.Reproduction Steps
Create a PR and submit an Exemption Request.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.141.0 (build 3d1c06e)
Framework Version
No response
Node.js Version
v18
OS
MacOS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: