diff --git a/pkg/exprparser/interpreter.go b/pkg/exprparser/interpreter.go index ef3e8e1..3f7e9b6 100644 --- a/pkg/exprparser/interpreter.go +++ b/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 "gitea": // compatible with Gitea + return impl.env.Github, nil case "env": return impl.env.Env, nil case "job":