Open MazenElzanaty opened 2 years ago
You can use the filtering feature in either eventsource or sensor.
https://github.com/argoproj/argo-events/blob/master/docs/eventsources/filtering.md
https://github.com/argoproj/argo-events/tree/master/docs/sensors/filters
@whynowy can you please provide a sample I can use for bitbucket? Tried this but now working.
filter:
data:
- path: "ref" # Path to the branch reference in the event payload
type: "string"
value:
- "refs/heads/release" # The branch name you want to match
Is your feature request related to a problem? Please describe. Currently I'm using argo workflows to build and push a docker image, so I only want to do that for a specific branch
Describe the solution you'd like A way to limit the events in the event source to branches