Skip to content

Commit eca77c8

Browse files
committed
Bump dependencis and add debug
1 parent 51b9e82 commit eca77c8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ci.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ func githubActions() (ci CI, err error) {
165165
ci.PR.Number = pr
166166
}
167167

168+
fmt.Printf("ci: %+v, err: %v, os.Getenv(GITHUB_REF): %v, os.Getenv(GITHUB_SHA): %v", ci, err, os.Getenv("GITHUB_REF"), os.Getenv("GITHUB_SHA"))
169+
168170
return ci, err
169171
}
170172

notifier/github/comment.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ type PostOptions struct {
2020

2121
// Post posts comment
2222
func (g *CommentService) Post(body string, opt PostOptions) error {
23+
fmt.Printf("%v", opt)
24+
2325
if opt.Number != 0 {
2426
_, _, err := g.client.API.IssuesCreateComment(
2527
context.Background(),

0 commit comments

Comments
 (0)