From 42cacd47c27daf0d4b1795ed965ef315a0f73d4c Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Thu, 3 Jul 2025 16:39:35 +0200 Subject: [PATCH] feat: add FORGEJO_ACTIONS{,_RUNNER_VERSION} to jobs env --- internal/app/run/runner.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/app/run/runner.go b/internal/app/run/runner.go index a48c3c6..5ec9ffc 100644 --- a/internal/app/run/runner.go +++ b/internal/app/run/runner.go @@ -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,