File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ type ActionTaskResponse struct {
3838// swagger:model CreateActionWorkflowDispatch
3939type CreateActionWorkflowDispatch struct {
4040 // required: true
41- Ref string `json:"ref"`
42- Inputs map [string ]interface {} `json:"inputs"`
41+ Ref string `json:"ref"`
42+ Inputs map [string ]any `json:"inputs"`
4343}
4444
4545// ActionWorkflow represents a ActionWorkflow
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ import (
88 "net/http"
99 "strconv"
1010 "strings"
11-
11+
12+ actions_model "code.gitea.io/gitea/models/actions"
13+ "code.gitea.io/gitea/models/db"
1214 "code.gitea.io/gitea/models/perm"
1315 access_model "code.gitea.io/gitea/models/perm/access"
16+ secret_model "code.gitea.io/gitea/models/secret"
1417 "code.gitea.io/gitea/models/unit"
1518 "code.gitea.io/gitea/modules/actions"
1619 "code.gitea.io/gitea/modules/git"
17- actions_model "code.gitea.io/gitea/models/actions"
18- "code.gitea.io/gitea/models/db"
19- secret_model "code.gitea.io/gitea/models/secret"
2020 api "code.gitea.io/gitea/modules/structs"
2121 "code.gitea.io/gitea/modules/util"
2222 "code.gitea.io/gitea/modules/web"
You can’t perform that action at this time.
0 commit comments