diff options
-rw-r--r-- | pkg/exprparser/interpreter.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/exprparser/interpreter.go b/pkg/exprparser/interpreter.go index 6c661b7..29c5686 100644 --- a/pkg/exprparser/interpreter.go +++ b/pkg/exprparser/interpreter.go @@ -157,6 +157,8 @@ func (impl *interperterImpl) evaluateVariable(variableNode *actionlint.VariableN return impl.env.Github, nil case "gitea": // compatible with Gitea return impl.env.Github, nil + case "forge": + return impl.env.Github, nil case "env": return impl.env.Env, nil case "job": |