mirror of
https://gitea.com/gitea/tea.git
synced 2026-06-05 18:58:43 +02:00
8e0666ab85
Reviewed-on: https://gitea.com/gitea/tea/pulls/1003 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.com> Co-committed-by: techknowlogick <techknowlogick@gitea.com>
32 lines
711 B
Go
32 lines
711 B
Go
// Copyright 2026 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package actions
|
|
|
|
import (
|
|
stdctx "context"
|
|
|
|
"gitea.dev/tea/cmd/actions/runs"
|
|
|
|
"github.com/urfave/cli/v3"
|
|
)
|
|
|
|
// CmdActionsRuns represents the actions runs command
|
|
var CmdActionsRuns = cli.Command{
|
|
Name: "runs",
|
|
Aliases: []string{"run"},
|
|
Usage: "Manage workflow runs",
|
|
Description: "List, view, and manage workflow runs for repository actions",
|
|
Action: runRunsDefault,
|
|
Commands: []*cli.Command{
|
|
&runs.CmdRunsList,
|
|
&runs.CmdRunsView,
|
|
&runs.CmdRunsDelete,
|
|
&runs.CmdRunsLogs,
|
|
},
|
|
}
|
|
|
|
func runRunsDefault(ctx stdctx.Context, cmd *cli.Command) error {
|
|
return runs.RunRunsList(ctx, cmd)
|
|
}
|