-
Notifications
You must be signed in to change notification settings - Fork 2
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
PORT-10327 Bug | Cannot update certain fields from Github Action #134
PORT-10327 Bug | Cannot update certain fields from Github Action #134
Conversation
- Removed logMessage and status validation - Added workflow to test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
@@ -1,12 +1,12 @@ | |||
{ | |||
"name": "port-github-action", | |||
"version": "1.1.0", | |||
"version": "1.1.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we've bumped the version, we may need to verify if the development-team will need to adjust anything at their end in order to benefit from this bugfix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
What - Extended the update operation to allow updating any of the fields (statusLabel, logMessage, link, etc.) based on API requirements, rather than limiting updates to status or logMessage only.
Why - There was a bug preventing the update of fields like statusLabel and link. The system previously only supported updating either the status or the log message.
How - Modified the parseInput method to allow updating any field from the API, removed the validation that required status or logMessage, and added support for partial updates. Updated the workflow for testing the changes.
Type of change
Please leave one option from the following and delete the rest: