1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-10-15 19:42:06 +00:00

feat: the forgejo context is equivalent to the github context

Resolves forgejo/runner#729
This commit is contained in:
Earl Warren 2025-09-15 10:42:16 +02:00
parent 543f3fd495
commit 8e291bfdcf
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 52 additions and 22 deletions

View file

@ -158,6 +158,8 @@ func (impl *interperterImpl) evaluateVariable(variableNode *actionlint.VariableN
return impl.env.Github, nil
case "forge":
return impl.env.Github, nil
case "forgejo":
return impl.env.Github, nil
case "env":
return impl.env.Env, nil
case "job":