harness_trigger_mainline - robjcook/sync GitHub Wiki

trigger:
  name: Mainline CI/CD Trigger
  identifier: mainline_ci_cd_trigger
  enabled: true
  orgIdentifier: your_org_id
  projectIdentifier: your_project_id
  pipelineIdentifier: mainline_ci_cd
  source:
    type: Webhook
    spec:
      type: GitHub
      spec:
        type: Push
        spec:
          connectorRef: your_git_connector
          repoName: your-repo-name
          payloadConditions:
            - key: ref
              operator: endsWith
              value: refs/heads/main