Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Zettat123 committed Jan 15, 2025
1 parent fc2ec91 commit de3ff52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/actions/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit de3ff52

Please sign in to comment.