GitHub EventSource specify directory #2305
Unanswered
itsmetommy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to create a GitHub EventSource and specify a directory to watch? The goal is to trigger a Workflow when a specific file changes within it. I see filters, but I am unsure if it is the right solution for this problem.
https://github.com/argoproj/argo-events/blob/master/api/event-source.md#githubeventsource
apiVersion: argoproj.io/v1alpha1 kind: EventSource metadata: name: github namespace: example spec: service: ports: - name: example port: 12000 targetPort: 12000 github: example: githubBaseURL: https://github.tools.sap/api/v3/ owner: example repository: example webhook: endpoint: /push port: "12000" method: POST url: https://example.com events: - "*" apiToken: name: github-access key: token insecure: false active: true contentType: json
Beta Was this translation helpful? Give feedback.
All reactions