Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zettat123 committed Feb 11, 2025
1 parent 3871788 commit 3263d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/actions/concurrency.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func EvaluateJobConcurrency(ctx context.Context, run *actions_model.ActionRun, a
return "", false, fmt.Errorf("get inputs: %w", err)
}

singleWorkflows, err := jobparser.Parse([]byte(actionRunJob.WorkflowPayload))
singleWorkflows, err := jobparser.Parse(actionRunJob.WorkflowPayload)
if err != nil {
return "", false, fmt.Errorf("parse single workflow: %w", err)
} else if len(singleWorkflows) != 1 {
Expand Down

0 comments on commit 3263d4e

Please sign in to comment.