Open asbjornu opened 4 years ago
I thought about using reaction for this, but then where is no way to display the error
Yeah that would be totally possible, but I think it would be a lot of noice.
I would say that the rebase action builds up to the expectancy of being able to communicate with comments in the PR, as that's how the rebase is triggered to begin with; by typing /rebase
into a comment in the PR. This sort of human-bot-communication is exactly how Dependabot works. See SwedbankPay/swedbank-pay-sdk-dotnet#44 as an example:
As such, I wouldn't consider a single comment explaining how the rebase can't be performed as noise, I would consider it valuable and expected information. Having to click through to the GitHub Action and dig in the logs to even discover that the rebase can't be performed and why is not the best user experience.
I would actually love it if the rebase action behaved almost exactly like Dependabot. Here's a more concrete suggestion:
/rebase
, just to visualize that the command is noticed. A missing 👍 would mean something with the action is wrong and that one would have to go investigate. Now, you sort of have to investigate no matter what.
After
/rebase
is triggered, it would be nice to not have to manually go to "Actions" and click through to therebase
workflow to see how it is doing. When the action is triggered, it would be nice to get some sort of feedback in the PR and if it fails, the error message could be posted as a comment in the PR.