diff --git a/routers/api/v1/repo/action.go b/routers/api/v1/repo/action.go index 905748bf80..f1e4389f80 100644 --- a/routers/api/v1/repo/action.go +++ b/routers/api/v1/repo/action.go @@ -4,18 +4,17 @@ package repo import ( + "errors" + "net/http" + "strconv" + "strings" + + "code.gitea.io/gitea/models/perm" access_model "code.gitea.io/gitea/models/perm/access" "code.gitea.io/gitea/models/unit" "code.gitea.io/gitea/modules/actions" "code.gitea.io/gitea/modules/git" - "errors" - "github.com/nektos/act/pkg/jobparser" - "github.com/nektos/act/pkg/model" - "net/http" - "strconv" - "strings" - actions_model "code.gitea.io/gitea/models/actions" "code.gitea.io/gitea/models/db" secret_model "code.gitea.io/gitea/models/secret" @@ -28,6 +27,9 @@ import ( "code.gitea.io/gitea/services/context" "code.gitea.io/gitea/services/convert" secret_service "code.gitea.io/gitea/services/secrets" + + "github.com/nektos/act/pkg/jobparser" + "github.com/nektos/act/pkg/model" ) // ListActionsSecrets list an repo's actions secrets