[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:
parent
af0a149a4d
commit
ebd01185d1
1 changed files with 2 additions and 0 deletions
|
@ -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":
|
||||||
|
|
Loading…
Reference in a new issue