-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
RFE: Fail if listener hasn't started because of github action type. #265
Comments
This is because the initial reporter (the comment one) could only work on pull requests: lstn/pkg/reporter/factory/factory.go Line 87 in 3a7bcc7
Since the lstn/pkg/reporter/factory/factory.go Line 63 in 3a7bcc7
Of course, by doing so, we accept that this will work only when the https://github.com/listendev/action gets In fact, with A possible solution (2), in this last case, could be to detect that the Anyways, I would start implementing (1) for now. WDYT |
A (3) third solution, would be like you propose. If the action cannot run on the current GitHub event, let it fail blocking the CI workflow of the user/customer. But this was something that - in the past - I was explicitly asked not to let happen because it was causing friction to users/customers. |
I like making it work in all cases because then testing Argus will be super easy, its just a click in a well known and existing workflow within the repo. So, I'm +1 for that IF possible/feasible. THanks a lot for all the feedback. |
Storing here another check we would need to remove: |
Describe the feature or problem you’d like to solve
When running listen.dev action in any workflow, if the method isn't supported (like a manual trigger, for example), it should fail the run so the user knows it is not working (instead of failing silently and not showing anything in the dashboard).
Proposed solution
I spent sometime trying to figure out why the detections were not happening in the manual triggering. Then I opened the listen steps and saw that message. I didn't think there was a problem as there wasn't a failure.
Additional context
N/A.
The text was updated successfully, but these errors were encountered: