Skip to content

Commit 7722066

Browse files
authored
DOCSS-1931 fix erroring syntax for event parameter (#9633)
* Change job name in GitHub trigger event options Updated job name from 'myjob' to 'build' in workflow conditions. * Update github-trigger-event-options.adoc
1 parent 0e5bfe5 commit 7722066

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guides/modules/orchestrate/pages/github-trigger-event-options.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ All pipelines triggered by link:https://docs.github.com/en/webhooks/webhook-even
101101
----
102102
workflows:
103103
my-workflow:
104-
when: pipeline.event.name == "api" or pipeline.event.name == 'push' or (pipeline.event.name == "pull_request" and pipeline.event.github.pull_request.draft == false))
105-
jobs:
106-
- myjob
104+
when: pipeline.event.name == "api" or pipeline.event.name == "push" or (pipeline.event.name == "pull_request" and pipeline.event.github.pull_request.draft == false)
105+
jobs:
106+
- myjob
107107
----
108108
+
109109
** The condition `pipeline.event.github.pull_request.draft == false` excludes draft PRs from triggering the workflow.

0 commit comments

Comments
 (0)