@@ -2749,6 +2749,10 @@ func (r workflowTriggerJSON) RawJSON() string {
27492749// for PRs in repositories matching the trigger context.
27502750type WorkflowTriggerPullRequest struct {
27512751 Events []WorkflowTriggerPullRequestEvent `json:"events"`
2752+ // integration_id is the optional ID of an integration that acts as the source of
2753+ // webhook events. When set, the trigger will be activated when the webhook
2754+ // receives events.
2755+ IntegrationID string `json:"integrationId" api:"nullable" format:"uuid"`
27522756 // webhook_id is the optional ID of a webhook that this trigger is bound to. When
27532757 // set, the trigger will be activated when the webhook receives events. This allows
27542758 // multiple workflows to share a single webhook endpoint.
@@ -2759,10 +2763,11 @@ type WorkflowTriggerPullRequest struct {
27592763// workflowTriggerPullRequestJSON contains the JSON metadata for the struct
27602764// [WorkflowTriggerPullRequest]
27612765type workflowTriggerPullRequestJSON struct {
2762- Events apijson.Field
2763- WebhookID apijson.Field
2764- raw string
2765- ExtraFields map [string ]apijson.Field
2766+ Events apijson.Field
2767+ IntegrationID apijson.Field
2768+ WebhookID apijson.Field
2769+ raw string
2770+ ExtraFields map [string ]apijson.Field
27662771}
27672772
27682773func (r * WorkflowTriggerPullRequest ) UnmarshalJSON (data []byte ) (err error ) {
@@ -2872,6 +2877,10 @@ func (r WorkflowTriggerParam) MarshalJSON() (data []byte, err error) {
28722877// for PRs in repositories matching the trigger context.
28732878type WorkflowTriggerPullRequestParam struct {
28742879 Events param.Field [[]WorkflowTriggerPullRequestEvent ] `json:"events"`
2880+ // integration_id is the optional ID of an integration that acts as the source of
2881+ // webhook events. When set, the trigger will be activated when the webhook
2882+ // receives events.
2883+ IntegrationID param.Field [string ] `json:"integrationId" format:"uuid"`
28752884 // webhook_id is the optional ID of a webhook that this trigger is bound to. When
28762885 // set, the trigger will be activated when the webhook receives events. This allows
28772886 // multiple workflows to share a single webhook endpoint.
0 commit comments