You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jekyll/_cci2/github-trigger-event-options.adoc
+9
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,15 @@ a| * `opened`
98
98
99
99
|===
100
100
101
+
All pipelines triggered by link:https://docs.github.com/en/webhooks/webhook-events-and-payloads#pull_request[pull request events] also have the following xref:variables/#pipeline-values[pipeline values] populated:
102
+
103
+
* `pipeline.event.github.pull_request.base.ref`: the name of the *base* (or target) branch of the PR - that is the branch that will receive the changes.
104
+
* `pipeline.event.github.pull_request.head.ref`: the name of the *head* branch of the PR - that is the branch containing the changes to be merged.
105
+
* `pipeline.event.github.pull_request.draft`: a boolean value indicating whether the pull request is a draft.
106
+
* `pipeline.event.github.pull_request.title`: the title of the pull request.
107
+
* `pipeline.event.github.pull_request.number`: the numeric identifier of the pull request.
108
+
109
+
These values are extracted directly from the GitHub event payload. The part after prefix `pipeline.event.github.*` matches the corresponding field in the pull request event structure described in link:https://docs.github.com/en/webhooks/webhook-events-and-payloads#pull_request[the GitHub docs].
101
110
102
111
Config orchestration tools are available from within your pipelines are as follows:
0 commit comments