slack
slack copied to clipboard
GitHub Deployment notifications filter
Currently it's possible to create filtered subscription for a bunch of events, but it's not possible for the deployment events. Since we are deploying quite often, we have way too many notifications and in reality are only looking at the failed ones.
It would be extremely cool if we could filter based on the deployment state, like so:
/github subscribe myawesomeorg/MyIncredibleProject deployments +status:failure
Related to #913
Thanks for opening this issue! If you would like to help implement an improvement, read more about contributing and consider submitting a pull request.
Filtering by environment is another use-case for this improvement.
Is this still relevant? If so, just comment with any updates and we'll leave it open. Otherwise, if there is no further activity, it will be closed.
I think it’s still relevant.
I think it's still relevant. We only care about deployments to some envs not all and particularly failures.
Agreed! We don't want to spam our whole org with dev deployments, but it's important for API consumers to know when we do releases :)
Yes, it is a use case for us a well, for notifying only on deployment failure
+1
+1
+1 for this. Vercel deployments are spamming in our channels...
+1 for this!
Another use case: we only want to monitor deployments for a specific branch (ie. main
). Right now, every PR that might kick off a build workflow is pushing its status status to our Slack channel.
+1 for this!
+1 for Filtering by environment and state
+1 filtering by env and state
+1 !!
+1
+1
+2
We use preview deployments for our staging environments, so using /github subscribe deployments
is really noisy for us. Ideally, we'd like to filter deployment notifications to only the main
branch, so one can see what has been pushed to production.
+1, any updates on this as a feature?
+1
+1
This feature is definitley in our "longed for" column. We deploy environments tracked by GH Environmnets/Deployments from 'n' number of branches, but only want the alerts for a few select branches to avoid alarm fatigue.
I absolutely love the notifications though, and how they auto update as the deployment status changes. Just need filtering and we're all set!
+1 for env filter
+1
+1 pretty please
We'd also be using a feature like this, in particular filtering out on the workflow name
+1 still hoping this get bumped in priority, or if there's any pointers on how to implement this, my team might be able to take a look. Thanks!
+1