[FORGEJO] add forge alias for github (#37)

I left gitea for backwards compatibility

Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/37
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
Co-committed-by: TheFox0x7 <thefox0x7@gmail.com>
This commit is contained in:
TheFox0x7 2024-04-02 18:23:26 +00:00 committed by earl-warren
parent af0a149a4d
commit ebd01185d1

View file

@ -157,6 +157,8 @@ func (impl *interperterImpl) evaluateVariable(variableNode *actionlint.VariableN
return impl.env.Github, nil return impl.env.Github, nil
case "gitea": // compatible with Gitea case "gitea": // compatible with Gitea
return impl.env.Github, nil return impl.env.Github, nil
case "forge":
return impl.env.Github, nil
case "env": case "env":
return impl.env.Env, nil return impl.env.Env, nil
case "job": case "job":