You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-29 21:48:14 +02:00
Add godot linter to harmonitze toplevel comments (#3650)
This commit is contained in:
@@ -38,7 +38,7 @@ func (m *Metadata) Environ() map[string]string {
|
||||
)
|
||||
|
||||
branchParts := strings.Split(m.Curr.Commit.Refspec, ":")
|
||||
if len(branchParts) == 2 { //nolint: gomnd
|
||||
if len(branchParts) == 2 { //nolint:mnd
|
||||
sourceBranch = branchParts[0]
|
||||
targetBranch = branchParts[1]
|
||||
}
|
||||
@@ -124,7 +124,7 @@ func (m *Metadata) Environ() map[string]string {
|
||||
"CI_FORGE_TYPE": m.Forge.Type,
|
||||
"CI_FORGE_URL": m.Forge.URL,
|
||||
|
||||
// TODO Deprecated, remove in 3.x
|
||||
// TODO: Deprecated, remove in 3.x
|
||||
"CI_COMMIT_URL": m.Curr.ForgeURL,
|
||||
}
|
||||
if m.Curr.Event == EventTag || m.Curr.Event == EventRelease || strings.HasPrefix(m.Curr.Commit.Ref, "refs/tags/") {
|
||||
|
||||
Reference in New Issue
Block a user