slack
slack copied to clipboard
Subscribing to workflow updates for branches using a wildcard
Is your feature request related to a problem? Please describe.
I may be confusing something, but I want to subscribe to workflow notifications for any branch that looks like f/*
. I've tried to do so via:
/github subscribe <org> workflows:{event: "push", "workflow_dispatch" branch: "master", "f/*"}
But I do not get notifications for any f/*
branches (example: f/ABC-123
).
Describe the solution you'd like To be able to subscribe to workflow updates for branches using a wildcard (or, preferably, to be told what I'm doing wrong).
Our team is also waiting for this feature. Our use case is below.
There are two Slack channels and multiple patterns of branches. In production release channel.
/github subscribe owner/repo workflows:{branch:"production"}
In development release channel.
/github subscribe owner/repo workflows:{branch:"master"}
/github subscribe owner/repo workflows:{branch:"stg/*"}
/github subscribe owner/repo workflows:{branch:"feature/*"}
How can we only subscribe workflows?
Bump!
I found something that works for every branch, as long as the branch
is not specified, workflows on all branches will trigger the notification.
/github subscribe owner/repo workflows:{event:"workflow_run","workflow_dispatch","push","pull_request"}
But it'll still be useful to filter out branches with a wildcard.