mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-08-08 18:55:02 +02:00
Remove trailing slash from instance address (#197)
Related #136 Co-authored-by: harryzcy <[email protected]> Reviewed-on: https://gitea.com/gitea/act_runner/pulls/197 Reviewed-by: Jason Song <[email protected]> Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: harryzcy <[email protected]> Co-committed-by: harryzcy <[email protected]>
This commit is contained in:
committed by
Lunny Xiao
co-authored by
harryzcy
parent
84386c1b16
commit
e3271d8469
@@ -184,7 +184,7 @@ func (r *Runner) run(ctx context.Context, task *runnerv1.Task, reporter *report.
|
|||||||
JSONLogger: false,
|
JSONLogger: false,
|
||||||
Env: r.envs,
|
Env: r.envs,
|
||||||
Secrets: task.Secrets,
|
Secrets: task.Secrets,
|
||||||
GitHubInstance: r.client.Address(),
|
GitHubInstance: strings.TrimSuffix(r.client.Address(), "/"),
|
||||||
AutoRemove: true,
|
AutoRemove: true,
|
||||||
NoSkipCheckout: true,
|
NoSkipCheckout: true,
|
||||||
PresetGitHubContext: preset,
|
PresetGitHubContext: preset,
|
||||||
|
|||||||
Reference in New Issue
Block a user