Can we suppress 'Run cancelled' notifications? #13015
|
We would like to be able to suppress 'Run cancelled' notifications but still receive 'Run failed' notifications. We have a 'cancel-in-progress: true' workflow triggered on push which builds a set of markdown files into HTML, and a team of copy-editors who push to this repository using a WYSIWYG editor. This process results in many small commits to the repository, and so we get spammed by the 'Run cancelled' notifications. Is there any way we can cancel a run without triggering a notification? |
Replies: 71 comments 29 replies
|
Thanks for the feedback @alec-maxoptra - there's not at the moment, I'm afraid. I think that there's an opportunity for us to improve our notifications, and we'll take your feedback into account when we look at that work. I'll make sure that this is on the backlog. Appreciate you taking the time. |
|
This would be especially interesting for repositories using semantic-release where you definitely want to avoid multiple runs or a release workflow in parallel. |
|
Just to add, I'm also getting frustrated by this. It's generating a lot of notification false positives which is teaching me to ignore notifications :-/ |
|
In our team, stale runs are always canceled. This results in a massive number of notifications. I would be very happy if this could be changed. |
|
same as ☝️, my inbox is constantly bombarded with these notifications. i have to manually select all and mark as done when that happens. it's cumbersome, and has led to me missing a notification among the noise at least a few times. |
|
We have some checkers that re-run when developers push new commits to the branch of the pr. It doesn't make sense for in-progress workflows to continue, instead, we cancel them and re-run the checkers for the latest changes. Ideally, I expect it was possible to do something like: name: My workflow
on:
pull_request
concurrency:
group: ${{ github.workflow }}-PR${{ github.event.pull_request.number }}
cancel-in-progress: true
notify-if-canceled: false # this is not a real config please do not copy past it :) |
|
the feature is still desired, but if you use gmail, just create a filter to archive/delete the email to avoid notifications. |
|
Legitimate canceling by explicit concurrency section in the action should not generate email notifications, or at least should be configurable. Please fix it to motivate developers cancel unnecessary jobs and have more free Github runners for everyone. |
|
Is this feature request under development? I see many developers with the same issue receiving bunch of cancelled workflow notifications in email.. pretty annoying! |
|
our use case is we're using graphite (go check it out, it's awesome) to support stacked PRs. it uses rebase to keep branches in sync, which means every time i update the stack with code from the main branch, it force pushes each branch in the stack. for reasons i don't entirely understand, this always produces a lot of cancelled runs, i suppose it has to do with rebasing. the end result is that every time i sync, my github notifications inbox is spammed with countless messages and i have to manually select them all and mark as done. easy to miss real notifications this way. |
|
I'd also love this, my CI is now set up to cancel runs on old commits when new commits are pushed, and this results in a lot of redundant emails. |
|
This is driving me crazy. The work flow being cancelled is NORMAL. Multiple Devs check in before build is finished. It Cancels the build because some code changed. Why do we need an alert for this? This is not an error. |
|
+1 |
|
it's driving me crazy as well. is there another channel where we can report this, or should we accept that this will likely never get picked up? |
|
Would also love a way to prevent emails for canceled work flows. |
|
Still an issue |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
Forget the email notifications, how do I get the push notifications to stop? |
|
+1 |
|
+1 |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
No. In GitHub Actions you cannot suppress only “Run cancelled” notifications while keeping “Run failed” notifications. GitHub notifications don’t allow filtering by run status. |
|
Just vive code It guys. It's no so hard |
|
Hey folks! Notifications team here. We have handled this issue. "Run Cancelled" notifications have been suppressed when |
|
@geramirez Thank you for your timely help on this! |


Hey folks! Notifications team here. We have handled this issue. "Run Cancelled" notifications have been suppressed when
Only notify for failed workflowsis selected. They will appear when this option is unselected.