1
0
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:
Robert Kaussow
2024-05-13 22:58:21 +02:00
committed by GitHub
parent 83eba294c7
commit 89e100cfd1
144 changed files with 302 additions and 302 deletions

View File

@@ -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 (