Skip to content

Commit efe2e0e

Browse files
committed
fix: Correct type for status options
The `formatPipelineComment` function received the `statusOpts` parameter with the incorrect type. This commit corrects the type to `providerstatus.StatusOpts` to ensure type safety and proper function execution.
1 parent 41c6ace commit efe2e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/provider/github/status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ func (v *Provider) CreateStatus(ctx context.Context, runevent *info.Event, statu
462462
return v.createStatusCommit(ctx, runevent, statusOpts)
463463
}
464464

465-
func (v *Provider) formatPipelineComment(sha string, status provider.StatusOpts) string {
465+
func (v *Provider) formatPipelineComment(sha string, status providerstatus.StatusOpts) string {
466466
var emoji, title string
467467

468468
switch {

0 commit comments

Comments
 (0)