Skip to content

Commit 6cde283

Browse files
committed
add comment
1 parent 4561a3c commit 6cde283

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/actions/context.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ type TaskNeed struct {
9595
Outputs map[string]string
9696
}
9797

98+
// FindTaskNeeds finds the `needs` for the task by the task's job
9899
func FindTaskNeeds(ctx context.Context, job *actions_model.ActionRunJob) (map[string]*TaskNeed, error) {
99100
if len(job.Needs) == 0 {
100101
return nil, nil

0 commit comments

Comments
 (0)