Skip to content

Commit 40a653f

Browse files
committed
debug issue infos
1 parent 6ea6e3e commit 40a653f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/acigithub/pullrequest.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ func GetPrInfos(prNumber int, mergeCommitSha string) (standardPrInfos *models.St
7979
for _, comment := range issueComments {
8080
// Must have permission in the repo to create a major version
8181
// MANNEQUIN|NONE https://docs.github.com/en/graphql/reference/enums#commentauthorassociation
82-
log.Println(comment.AuthorAssociation)
83-
log.Println(comment.Body)
84-
log.Println(comment.User)
82+
log.Println(*comment.AuthorAssociation)
83+
log.Println(*comment.Body)
84+
log.Println(*comment.User)
8585
if strings.Contains("MEMBER|OWNER|CONTRIBUTOR|COLLABORATOR", *comment.AuthorAssociation) {
8686
aciVersionOverride := regexp.MustCompile(`aci_version_override: ([0-9]+\.[0-9]+\.[0-9]+)`)
8787
aciPatchLevel := regexp.MustCompile(`aci_patch_level: ([a-zA-Z]+)`)

0 commit comments

Comments
 (0)