apiVersion: v1
kind: ConfigMap
metadata:
  name: config-defaults
  namespace: workflows-system
  labels:
    workflows.workflows.dev/release: devel
data:
  webhook: https://workflows.cicd.nubank.world

  labels: |
    nu/pipeline: $(workflow.name)
    nu/trigger-cause: commit

  annotations: |
    nu/author: $(event {.pusher.name})
    nu/pushed-at: $(event {.repository.pushed_at})
    tekton-watcher.github/repository-owner: $(workflow.repo.owner)
    tekton-watcher.github/repository-name: $(workflow.repo.name)
    tekton-watcher.github/commit-sha: $(event {.head_commit.id})
    pipeline-events/github.repository-owner: $(workflow.repo.owner)
    pipeline-events/github.repository-name: $(workflow.repo.name)
    pipeline-events/github.head-sha: $(event {.head_commit.id})
