Skip to content

Commit de3ff52

Browse files
committed
improve comment
1 parent fc2ec91 commit de3ff52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/actions/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
)
1818

1919
// GenerateGiteaContext generate the gitea context without token and gitea_runtime_token
20-
// job can be nil when generating context for interpolating workflow-level expressions
20+
// job can be nil when generating a context for parsing workflow-level expressions
2121
func GenerateGiteaContext(run *actions_model.ActionRun, job *actions_model.ActionRunJob) map[string]any {
2222
event := map[string]any{}
2323
_ = json.Unmarshal([]byte(run.EventPayload), &event)

0 commit comments

Comments
 (0)