// Copyright 2024 The Gitea Authors. All rights reserved.// SPDX-License-Identifier: MITpackage structs// ActionRunJob represents a job of a run// swagger:modeltype ActionRunJob struct { // the action run job id ID int64 `json:"id"` // the repository id RepoID int64 `json:"repo_id"` // the owner id OwnerID int64 `json:"owner_id"` // the action run job name Name string `json:"name"` // the action run job needed ids Needs []string `json:"needs"` // the action run job labels to run on RunsOn []string `json:"runs_on"` // the action run job latest task id TaskID int64 `json:"task_id"` // the action run job status Status string `json:"status"`}
// Copyright 2024 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package structs
// ActionRunJob represents a job of a run
// swagger:model
type ActionRunJob struct {
// the action run job id
ID int64 `json:"id"`
// the repository id
RepoID int64 `json:"repo_id"`
// the owner id
OwnerID int64 `json:"owner_id"`
// the action run job name
Name string `json:"name"`
// the action run job needed ids
Needs []string `json:"needs"`
// the action run job labels to run on
RunsOn []string `json:"runs_on"`
// the action run job latest task id
TaskID int64 `json:"task_id"`
// the action run job status
Status string `json:"status"`
}