Can we suppress 'Run cancelled' notifications? #13015
Replies: 49 comments 25 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.
-
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.
-
Another attempt of request! |
Beta Was this translation helpful? Give feedback.
-
Please we do need this feature with concurrency key. :( |
Beta Was this translation helpful? Give feedback.
-
+1 Notifications for manual cancellations are equally useless and disturbing like the ones sent for cancellations due to concurrency settings. A configurable option would be very welcome. |
Beta Was this translation helpful? Give feedback.
-
At the very least can we get a system option for this?
|
Beta Was this translation helpful? Give feedback.
-
Hey y'all :) this is great feedback, and sorry for the silence. We are currently doing a review of a bunch of these long-standing paper-cuts (I know we have a bunch of these kinda 2020 age issues that Ed/Chris have responded to!). Our hope is over the next 6-9 months we can start to burn some of these down. I will ensure this one is on the list, but cannot guarantee where it ends in the stack rank :) hopefully you will start to see some of these moving soon though <3 |
Beta Was this translation helpful? Give feedback.
-
Here's a simple script that will go and mark all "workflow run cancelled" notifications as "Done": https://gist.github.com/grav/d82fb04b5f4f945c1dc9e86361d49010 |
Beta Was this translation helpful? Give feedback.
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Can we suppress '+1' notifications, too? |
Beta Was this translation helpful? Give feedback.
-
+1 Like others have said, we cancel stale builds (to save resource and prevent deploy errors) where I work and this is causing massive amounts of notifications - it's conditioned me to ignore notification emails. |
Beta Was this translation helpful? Give feedback.
-
I also would like this for the sake of using the "Require status checks to pass" Ruleset feature with my
Right now, my Screenshot of the ruleset failing in the pull request: Screenshot of the ruleset itself: |
Beta Was this translation helpful? Give feedback.
-
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.
All reactions