-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
I'm not sure where this feature will arrive at just yet, but I'm leaving an idea that I think it could work while thinking in the redesign of this feature. We can discuss this, and other ideas here, and decide the next iterative steps.
Also, thinking more I do think it makes sense to have these merged with the existing rules, it doesn't make much sense now, but I think we should adapt the rules to allow for composition in the future (if a version name matches x and its commit matches y, do this action). When to run the rules is already defined by action (on version creation, deletion, push).
Yeah, this is a good idea we can explore 👍🏼 . I think we are creating a big generic feature here that we will be able to combine with other features that already exist to make them more powerful.
We probably want to redesign this as:
- version matching: match the name/slug (eg.
release-*) of the version and the type of it (e.gtag)- webhook filter: filter files pushed in the commit (e.g.
docs/*.rst)- action: perform an action (e.g.
trigger a build)This is just an idea, we need to sit down and think more broadly about this, but definitely it's a feature with a lot of power that we should redesign to grab all these uses cases in a easy way to communicate.
Originally posted by @humitos in #12697 (comment)