1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-07-27 17:28:35 +00:00

feat: add FORGEJO_ACTIONS{,_RUNNER_VERSION} to jobs env

This commit is contained in:
Earl Warren 2025-07-03 16:39:35 +02:00
parent f1b67559b1
commit 42cacd47c2
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -84,6 +84,9 @@ func NewRunner(cfg *config.Config, reg *config.Registration, cli client.Client)
envs["GITEA_ACTIONS"] = "true"
envs["GITEA_ACTIONS_RUNNER_VERSION"] = ver.Version()
envs["FORGEJO_ACTIONS"] = "true"
envs["FORGEJO_ACTIONS_RUNNER_VERSION"] = ver.Version()
return &Runner{
name: reg.Name,
cfg: cfg,