Skip to content
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

Merged

Conversation

kodjomiles
Copy link
Contributor

  • Added statusLabel action input
  • Removed logMessage and status validation

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:

  • Bug fix (non-breaking change which fixes an issue)

@kodjomiles kodjomiles added the bug Something isn't working label Oct 7, 2024
@kodjomiles kodjomiles self-assigned this Oct 7, 2024
@kodjomiles kodjomiles requested a review from PeyGis October 7, 2024 10:41
Copy link
Contributor

@PeyGis PeyGis left a 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",
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay

Copy link
Member

@erikzaadi erikzaadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@PeyGis PeyGis merged commit f6ce734 into main Oct 9, 2024
3 checks passed
@github-actions github-actions bot mentioned this pull request Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants