diff --git a/routers/web/repo/actions/view.go b/routers/web/repo/actions/view.go index 800635773ae..1becb00fc19 100644 --- a/routers/web/repo/actions/view.go +++ b/routers/web/repo/actions/view.go @@ -33,9 +33,9 @@ import ( actions_service "code.gitea.io/gitea/services/actions" context_module "code.gitea.io/gitea/services/context" notify_service "code.gitea.io/gitea/services/notify" - "gopkg.in/yaml.v3" "github.com/nektos/act/pkg/model" + "gopkg.in/yaml.v3" "xorm.io/builder" ) diff --git a/services/actions/concurrency.go b/services/actions/concurrency.go index 56cad3103ff..87930c76516 100644 --- a/services/actions/concurrency.go +++ b/services/actions/concurrency.go @@ -11,10 +11,10 @@ import ( actions_model "code.gitea.io/gitea/models/actions" "code.gitea.io/gitea/modules/json" api "code.gitea.io/gitea/modules/structs" - "gopkg.in/yaml.v3" "github.com/nektos/act/pkg/jobparser" act_model "github.com/nektos/act/pkg/model" + "gopkg.in/yaml.v3" ) func EvaluateWorkflowConcurrency(ctx context.Context, run *actions_model.ActionRun, rc *act_model.RawConcurrency, vars map[string]string) (string, bool, error) { diff --git a/services/actions/notifier_helper.go b/services/actions/notifier_helper.go index 5eb0898f874..8d8846cc4ad 100644 --- a/services/actions/notifier_helper.go +++ b/services/actions/notifier_helper.go @@ -28,10 +28,10 @@ import ( webhook_module "code.gitea.io/gitea/modules/webhook" "code.gitea.io/gitea/services/convert" notify_service "code.gitea.io/gitea/services/notify" - "gopkg.in/yaml.v3" "github.com/nektos/act/pkg/jobparser" "github.com/nektos/act/pkg/model" + "gopkg.in/yaml.v3" ) type methodCtxKeyType struct{} diff --git a/services/actions/run.go b/services/actions/run.go index f602a8f5d35..d7163909a97 100644 --- a/services/actions/run.go +++ b/services/actions/run.go @@ -11,9 +11,9 @@ import ( "code.gitea.io/gitea/models/db" repo_model "code.gitea.io/gitea/models/repo" "code.gitea.io/gitea/modules/util" - "gopkg.in/yaml.v3" "github.com/nektos/act/pkg/jobparser" + "gopkg.in/yaml.v3" ) // InsertRun inserts a run diff --git a/services/actions/schedule_tasks.go b/services/actions/schedule_tasks.go index 444f22d351e..7aa25c9c68c 100644 --- a/services/actions/schedule_tasks.go +++ b/services/actions/schedule_tasks.go @@ -16,9 +16,9 @@ import ( "code.gitea.io/gitea/modules/timeutil" webhook_module "code.gitea.io/gitea/modules/webhook" notify_service "code.gitea.io/gitea/services/notify" - "gopkg.in/yaml.v3" "github.com/nektos/act/pkg/jobparser" + "gopkg.in/yaml.v3" ) // StartScheduleTasks start the task diff --git a/services/actions/workflow.go b/services/actions/workflow.go index f8f4d76d0c7..12d859e9fae 100644 --- a/services/actions/workflow.go +++ b/services/actions/workflow.go @@ -23,10 +23,10 @@ import ( "code.gitea.io/gitea/services/context" "code.gitea.io/gitea/services/convert" notify_service "code.gitea.io/gitea/services/notify" - "gopkg.in/yaml.v3" "github.com/nektos/act/pkg/jobparser" "github.com/nektos/act/pkg/model" + "gopkg.in/yaml.v3" ) func EnableOrDisableWorkflow(ctx *context.APIContext, workflowID string, isEnable bool) error {