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
Added support to TS and Footer on error #89
Conversation
@hisaac can you have a look? |
Hi @extmkv, I don't work on this anymore so I won't be able to help. Perhaps @DamienBitrise could help, or recommend someone who could review? |
@DamienBitrise is this something you can help review? We would love to have have this feature on the bitrise-steplib. |
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.
Hi @extmkv, sorry for the late response.
I reviewed the code changes and have a few comments, please check it out.
@godrei I've fixed your comment. |
Hi @extmkv , thanks for the changes. I used this workflow to post a message to a channel and then update the original message:
The messages are connected through the What I experienced is that the first message was posted, but it wasn't updated, even if both steps were successful.
And here was the source of the issue: I used a channel's name as the After updating the channel step input, I managed to verify the new functionality, so we can merge and release the changes. |
Checklist
step.yml
andREADME.md
is updated with the changes (if needed)Version
Requires a MINOR version update
Context
Adds support to update messages using slack step.
Also adds support to the footer message and icon on error.
Changes
Added 3 new properties:
ts
: When ts is provided and when usingapi_token
it will update the original message with new content.To understand how the slack update method works, please check here.
footer_on_error
: Works in the same way as the others on error.footer_icon_on_error
: Works in the same way as the others on error.Investigation details
N/A
Decisions