harness_trigger_pull_request - robjcook/sync GitHub Wiki
trigger:
name: PR Validation Trigger
identifier: pr_validation_trigger
enabled: true
orgIdentifier: your_org_id
projectIdentifier: your_project_id
pipelineIdentifier: pr_validation_pipeline
source:
type: Webhook
spec:
type: GitHub
spec:
type: PullRequest
spec:
actions:
- opened
- edited
- synchronize
connectorRef: your_git_connector
repoName: your-repo-name
payloadConditions:
- key: targetBranch
operator: equals
value: main