integrations / slack

Bring your code to the conversations you care about with the GitHub and Slack integration
https://slack.github.com/
MIT License
2.98k stars 468 forks source link

Subscribing to workflow updates for branches using a wildcard #1779

Open JoshMcCullough opened 9 months ago

JoshMcCullough commented 9 months ago

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).

uplus commented 7 months ago

Our team is also looking 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/*"}
xihajun commented 3 months ago

How can we only subscribe workflows?