You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-23 21:44:44 +02:00
Add godot linter to harmonitze toplevel comments (#3650)
This commit is contained in:
@@ -15,11 +15,13 @@
|
||||
|
||||
package model
|
||||
|
||||
// Different ways to handle failure states
|
||||
// Different ways to handle failure states.
|
||||
const (
|
||||
FailureIgnore = "ignore"
|
||||
FailureFail = "fail"
|
||||
// FailureCancel = "cancel" // Not implemented yet
|
||||
//nolint:godot
|
||||
// TODO: Not implemented yet.
|
||||
// FailureCancel = "cancel"
|
||||
)
|
||||
|
||||
// Step represents a process in the pipeline.
|
||||
@@ -39,7 +41,7 @@ type Step struct {
|
||||
Type StepType `json:"type,omitempty" xorm:"step_type"`
|
||||
} // @name Step
|
||||
|
||||
// TableName return database table name for xorm
|
||||
// TableName return database table name for xorm.
|
||||
func (Step) TableName() string {
|
||||
return "steps"
|
||||
}
|
||||
@@ -54,7 +56,7 @@ func (p *Step) Failing() bool {
|
||||
return p.Failure == FailureFail && (p.State == StatusError || p.State == StatusKilled || p.State == StatusFailure)
|
||||
}
|
||||
|
||||
// StepType identifies the type of step
|
||||
// StepType identifies the type of step.
|
||||
type StepType string // @name StepType
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user