1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-21 07:04:32 +00:00
This commit is contained in:
techknowlogick 2024-09-18 10:49:31 -04:00
parent ccfbdaf36f
commit 1fae9c8d09
2 changed files with 6 additions and 6 deletions

View File

@ -38,8 +38,8 @@ type ActionTaskResponse struct {
// swagger:model CreateActionWorkflowDispatch // swagger:model CreateActionWorkflowDispatch
type CreateActionWorkflowDispatch struct { type CreateActionWorkflowDispatch struct {
// required: true // required: true
Ref string `json:"ref"` Ref string `json:"ref"`
Inputs map[string]interface{} `json:"inputs"` Inputs map[string]any `json:"inputs"`
} }
// ActionWorkflow represents a ActionWorkflow // ActionWorkflow represents a ActionWorkflow

View File

@ -8,15 +8,15 @@ import (
"net/http" "net/http"
"strconv" "strconv"
"strings" "strings"
actions_model "code.gitea.io/gitea/models/actions"
"code.gitea.io/gitea/models/db"
"code.gitea.io/gitea/models/perm" "code.gitea.io/gitea/models/perm"
access_model "code.gitea.io/gitea/models/perm/access" access_model "code.gitea.io/gitea/models/perm/access"
secret_model "code.gitea.io/gitea/models/secret"
"code.gitea.io/gitea/models/unit" "code.gitea.io/gitea/models/unit"
"code.gitea.io/gitea/modules/actions" "code.gitea.io/gitea/modules/actions"
"code.gitea.io/gitea/modules/git" "code.gitea.io/gitea/modules/git"
actions_model "code.gitea.io/gitea/models/actions"
"code.gitea.io/gitea/models/db"
secret_model "code.gitea.io/gitea/models/secret"
api "code.gitea.io/gitea/modules/structs" api "code.gitea.io/gitea/modules/structs"
"code.gitea.io/gitea/modules/util" "code.gitea.io/gitea/modules/util"
"code.gitea.io/gitea/modules/web" "code.gitea.io/gitea/modules/web"