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 fc2ec91 commit de3ff52Copy full SHA for de3ff52
services/actions/context.go
@@ -17,7 +17,7 @@ import (
17
)
18
19
// GenerateGiteaContext generate the gitea context without token and gitea_runtime_token
20
-// 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
21
func GenerateGiteaContext(run *actions_model.ActionRun, job *actions_model.ActionRunJob) map[string]any {
22
event := map[string]any{}
23
_ = json.Unmarshal([]byte(run.EventPayload), &event)
0 commit comments