diff --git a/approval.go b/approval.go index a720aef..a34c647 100644 --- a/approval.go +++ b/approval.go @@ -44,7 +44,7 @@ func newApprovalEnvironment(client *github.Client, repoFullName, repoOwner strin } func (a approvalEnvironment) runURL() string { - return fmt.Sprintf("https://github.com/%s/actions/runs/%d", a.repoFullName, a.runID) + return fmt.Sprintf("%s%s/actions/runs/%d", a.client.BaseURL.String(), a.repoFullName, a.runID) } func (a *approvalEnvironment) createApprovalIssue(ctx context.Context) error {