Closed
Description
Bug description
At the moment, the workflow that is run every time a PR is merged attempts to label the issue related to that PR with a pending-release
tag, to inform the person opening the issue that a change will be released soon.
At the moment the script that is run during this action has a bug coming from a leftover version of the script that makes it fail.
Example here.
Expected Behavior
The action should succeed if the PR has a related issue in the body and should fail only if it doesn't.
Current Behavior
The workflow fails because the labelling action is attempted twice, with the second one having an undefined
issue number.
Possible Solution
Remove L53 to L62 from .github/scripts/label_related_issue.js
Steps to Reproduce
Merge a PR, see the Actions Results.
Environment
- Powertools version used: N/A
- Packaging format (Layers, npm): N/A
- AWS Lambda function runtime: N/A
- Debugging logs: N/A