diff --git a/services/actions/context.go b/services/actions/context.go index 8abfeb515372f..e1f3c384465fe 100644 --- a/services/actions/context.go +++ b/services/actions/context.go @@ -17,7 +17,7 @@ import ( ) // GenerateGiteaContext generate the gitea context without token and gitea_runtime_token -// job can be nil when generating context for interpolating workflow-level expressions +// job can be nil when generating a context for parsing workflow-level expressions func GenerateGiteaContext(run *actions_model.ActionRun, job *actions_model.ActionRunJob) map[string]any { event := map[string]any{} _ = json.Unmarshal([]byte(run.EventPayload), &event)