mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-08-08 17:05:02 +02:00
Add runner name to log (#37)
User can get the name of the runner that executed the specified job.  Co-authored-by: Zettat123 <[email protected]> Reviewed-on: https://gitea.com/gitea/act_runner/pulls/37 Reviewed-by: Jason Song <[email protected]> Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: Zettat123 <[email protected]> Co-committed-by: Zettat123 <[email protected]>
This commit is contained in:
committed by
Lunny Xiao
co-authored by
Zettat123
parent
e36300ce28
commit
f24e0721dc
@@ -68,6 +68,9 @@ func FromEnviron() (Config, error) {
|
||||
if runner.UUID != "" {
|
||||
cfg.Runner.UUID = runner.UUID
|
||||
}
|
||||
if runner.Name != "" {
|
||||
cfg.Runner.Name = runner.Name
|
||||
}
|
||||
if runner.Token != "" {
|
||||
cfg.Runner.Token = runner.Token
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user