Skip to content

Commit

Permalink
chore(gh): log check run ID
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Apr 18, 2023
1 parent af9645b commit 6cfbf2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/gh/handle_check_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func (h *Webhook) handleCheckRun(ctx context.Context, e *github.CheckRunEvent) e

ctx = zctx.With(ctx,
zap.String("action", e.GetAction()),
zap.Int64("run_id", e.GetCheckRun().GetID()),
zap.String("head_sha", e.GetCheckRun().GetHeadSHA()),
)
lg := zctx.From(ctx)
Expand Down

0 comments on commit 6cfbf2f

Please sign in to comment.