Skip to content

Commit 6a9eb9e

Browse files
committed
fix fmt
1 parent 796d2c1 commit 6a9eb9e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

routers/web/repo/actions/view.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ import (
3333
actions_service "code.gitea.io/gitea/services/actions"
3434
context_module "code.gitea.io/gitea/services/context"
3535
notify_service "code.gitea.io/gitea/services/notify"
36-
"gopkg.in/yaml.v3"
3736

3837
"github.com/nektos/act/pkg/model"
38+
"gopkg.in/yaml.v3"
3939
"xorm.io/builder"
4040
)
4141

services/actions/concurrency.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import (
1111
actions_model "code.gitea.io/gitea/models/actions"
1212
"code.gitea.io/gitea/modules/json"
1313
api "code.gitea.io/gitea/modules/structs"
14-
"gopkg.in/yaml.v3"
1514

1615
"github.com/nektos/act/pkg/jobparser"
1716
act_model "github.com/nektos/act/pkg/model"
17+
"gopkg.in/yaml.v3"
1818
)
1919

2020
func EvaluateWorkflowConcurrency(ctx context.Context, run *actions_model.ActionRun, rc *act_model.RawConcurrency, vars map[string]string) (string, bool, error) {

services/actions/notifier_helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ import (
2828
webhook_module "code.gitea.io/gitea/modules/webhook"
2929
"code.gitea.io/gitea/services/convert"
3030
notify_service "code.gitea.io/gitea/services/notify"
31-
"gopkg.in/yaml.v3"
3231

3332
"github.com/nektos/act/pkg/jobparser"
3433
"github.com/nektos/act/pkg/model"
34+
"gopkg.in/yaml.v3"
3535
)
3636

3737
type methodCtxKeyType struct{}

services/actions/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"code.gitea.io/gitea/models/db"
1212
repo_model "code.gitea.io/gitea/models/repo"
1313
"code.gitea.io/gitea/modules/util"
14-
"gopkg.in/yaml.v3"
1514

1615
"github.com/nektos/act/pkg/jobparser"
16+
"gopkg.in/yaml.v3"
1717
)
1818

1919
// InsertRun inserts a run

services/actions/schedule_tasks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import (
1616
"code.gitea.io/gitea/modules/timeutil"
1717
webhook_module "code.gitea.io/gitea/modules/webhook"
1818
notify_service "code.gitea.io/gitea/services/notify"
19-
"gopkg.in/yaml.v3"
2019

2120
"github.com/nektos/act/pkg/jobparser"
21+
"gopkg.in/yaml.v3"
2222
)
2323

2424
// StartScheduleTasks start the task

services/actions/workflow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ import (
2323
"code.gitea.io/gitea/services/context"
2424
"code.gitea.io/gitea/services/convert"
2525
notify_service "code.gitea.io/gitea/services/notify"
26-
"gopkg.in/yaml.v3"
2726

2827
"github.com/nektos/act/pkg/jobparser"
2928
"github.com/nektos/act/pkg/model"
29+
"gopkg.in/yaml.v3"
3030
)
3131

3232
func EnableOrDisableWorkflow(ctx *context.APIContext, workflowID string, isEnable bool) error {

0 commit comments

Comments
 (0)