Skip to content

Commit

Permalink
Bump dependencis and add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Starefossen committed Dec 9, 2022
1 parent 51b9e82 commit eca77c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ func githubActions() (ci CI, err error) {
ci.PR.Number = pr
}

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"))

return ci, err
}

Expand Down
2 changes: 2 additions & 0 deletions notifier/github/comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ type PostOptions struct {

// Post posts comment
func (g *CommentService) Post(body string, opt PostOptions) error {
fmt.Printf("%v", opt)

if opt.Number != 0 {
_, _, err := g.client.API.IssuesCreateComment(
context.Background(),
Expand Down

0 comments on commit eca77c8

Please sign in to comment.