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? |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
|
This would be especially interesting for repositories using semantic-release where you definitely want to avoid multiple runs or a release workflow in parallel. |
Beta Was this translation helpful? Give feedback.
-
|
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 :-/ |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
-
|
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 :) |
Beta Was this translation helpful? Give feedback.
-
|
the feature is still desired, but if you use gmail, just create a filter to archive/delete the email to avoid notifications. |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
-
|
Is this feature request under development? I see many developers with the same issue receiving bunch of cancelled workflow notifications in email.. pretty annoying! |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
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? |
Beta Was this translation helpful? Give feedback.
-
|
Would also love a way to prevent emails for canceled work flows. |
Beta Was this translation helpful? Give feedback.
-
|
Still an issue |
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
Forget the email notifications, how do I get the push notifications to stop? |
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
|
Just vive code It guys. It's no so hard |
Beta Was this translation helpful? Give feedback.
-
|
Hey folks! Notifications team here. We have handled this issue. "Run Cancelled" notifications have been suppressed when |
Beta Was this translation helpful? Give feedback.
-
|
@geramirez Thank you for your timely help on this! |
Beta Was this translation helpful? Give feedback.


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.