Skip to content

Git

Execute as SQL style query against a github repo using mergestat-lite.

```yaml
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
  name: github-check
spec:
  schedule: "@every 1m"
  github:
    - githubToken: <toke>
        query: SELECT count(*) FROM commits WHERE author_email = 'user@email.com'
Field Description Scheme Required
query Query to be executed.
See mergestat-lite.for more details regarding syntax.
string
* All other common fields Common
Connection
connection Path of an existing connection e.g. connection://github/org. Mutually exclusive with credentials Connection
githubToken Github access token. Mutually exclusive with connection EnvVar Yes