We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4561a3c commit 6cde283Copy full SHA for 6cde283
services/actions/context.go
@@ -95,6 +95,7 @@ type TaskNeed struct {
95
Outputs map[string]string
96
}
97
98
+// FindTaskNeeds finds the `needs` for the task by the task's job
99
func FindTaskNeeds(ctx context.Context, job *actions_model.ActionRunJob) (map[string]*TaskNeed, error) {
100
if len(job.Needs) == 0 {
101
return nil, nil
0 commit comments