mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-09 00:30:28 +00:00
chore(runner): add new token in header
Signed-off-by: Bo-Yi.Wu <[email protected]>
This commit is contained in:
1 parent
2f879c41c4
commit
d178051832
4 files changed
+29
-1
No files matched your search
@@ -69,6 +69,9 @@ func FromEnviron() (Config, error) {
|
||||
if runner.UUID != "" {
|
||||
cfg.Runner.UUID = runner.UUID
|
||||
}
|
||||
if runner.Token != "" {
|
||||
cfg.Runner.Token = runner.Token
|
||||
}
|
||||
cfg.ForgeInstance = runner.ForgeInstance
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user