You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my case the action is failing the GitHub workflow job even when the notification ends up in MS TEAMS. After looking at the code I realise that an error is thrown when there is not text response. I did the same POST request the action is doing via the Postman and found that I get a 202 response without any text(attached the screenshot of the response).
Hence, I would suggest to also check the response code before throwing an error.
The text was updated successfully, but these errors were encountered:
I have the same error and created a fork fixing this problem. Feel free to test it. Simply replace skitionek/notify-microsoft-teams@master with isihu/notify-microsoft-teams@master. I have also created a Pull Request here.
If it fixes your problem, please leave feedback. Maybe we can merge this upstream.
In my case the action is failing the GitHub workflow job even when the notification ends up in MS TEAMS. After looking at the code I realise that an error is thrown when there is not text response. I did the same POST request the action is doing via the Postman and found that I get a
202
response without any text(attached the screenshot of the response).Hence, I would suggest to also check the response code before throwing an error.
The text was updated successfully, but these errors were encountered: