@@ -541,6 +541,8 @@ spec:
541541 promoteAppWithPR :
542542 properties :
543543 appStatus :
544+ description : APPStatus holds the status of the application
545+ after the PR was merged
544546 properties :
545547 health :
546548 description : Represents resource health status
@@ -563,6 +565,8 @@ spec:
563565 - sync
564566 type : object
565567 commitInfo :
568+ description : CommitInfo holds information about the commit
569+ that was created when the PR was merged
566570 properties :
567571 commitAuthorId :
568572 properties :
@@ -593,21 +597,62 @@ spec:
593597 - Syncing
594598 - Complete
595599 type : string
596- prStatus :
600+ prInfo :
601+ description : PRInfo holds information about the created
602+ pull request
597603 properties :
598- isClosed :
599- description : |-
600- IsClosed is true if either the PR is merged or closed without merging. If the PR is merged, MergeCommitSHA will
601- also be set.
604+ author :
605+ description : Pull request author
606+ type : string
607+ avatarUrl :
608+ description : Pull request author avatar url
609+ type : string
610+ baseBranch :
611+ description : Pull request base branch
612+ type : string
613+ createdAt :
614+ description : Pull request created at
615+ format : date-time
616+ type : string
617+ description :
618+ description : Pull request description
619+ type : string
620+ headBranch :
621+ description : Pull request head branch
622+ type : string
623+ id :
624+ description : Pull request id
625+ type : integer
626+ isMerged :
627+ description : Is pull request merged
602628 type : boolean
603629 mergeCommitSha :
630+ description : Commit sha from the pull request merge
631+ maxLength : 40
632+ minLength : 7
633+ pattern : ^[A-Fa-f0-9]+$
634+ type : string
635+ repo :
636+ description : Pull request repo name
637+ type : string
638+ state :
639+ description : Pull request state
640+ enum :
641+ - Open
642+ - Closed
643+ type : string
644+ title :
645+ description : Pull request title
646+ type : string
647+ url :
648+ description : Pull request url
649+ format : uri
604650 type : string
605651 required :
606- - isClosed
652+ - isMerged
653+ - state
654+ - url
607655 type : object
608- prUrl :
609- format : uri
610- type : string
611656 required :
612657 - phase
613658 type : object
0 commit comments