add forgejo context #5

Open
opened 2023-04-04 09:58:21 +00:00 by earl-warren · 0 comments
Owner
modified   pkg/exprparser/interpreter.go
@@ -152,6 +152,8 @@ func (impl *interperterImpl) evaluateVariable(variableNode *actionlint.VariableN
 	switch strings.ToLower(variableNode.Name) {
 	case "github":
 		return impl.env.Github, nil
+	case "forgejo":
+		return impl.env.Github, nil
 	case "env":
 		return impl.env.Env, nil
 	case "job":
```diff modified pkg/exprparser/interpreter.go @@ -152,6 +152,8 @@ func (impl *interperterImpl) evaluateVariable(variableNode *actionlint.VariableN switch strings.ToLower(variableNode.Name) { case "github": return impl.env.Github, nil + case "forgejo": + return impl.env.Github, nil case "env": return impl.env.Env, nil case "job": ```
earl-warren referenced this issue from a commit 2023-04-30 15:48:39 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: forgejo/act#5
No description provided.