diff --git a/scm/github/app_install.go b/scm/github/app_install.go index 14f3fab79..16c03924c 100644 --- a/scm/github/app_install.go +++ b/scm/github/app_install.go @@ -20,7 +20,7 @@ import ( ) // ProcessInstallation takes a GitHub installation and processes the changes. -func (c *client) ProcessInstallation(ctx context.Context, request *http.Request, webhook *internal.Webhook, db database.Interface) error { +func (c *client) ProcessInstallation(ctx context.Context, _ *http.Request, webhook *internal.Webhook, db database.Interface) error { c.Logger.Tracef("processing GitHub App installation") errs := []string{} @@ -139,7 +139,7 @@ func updateRepoInstallationID(ctx context.Context, webhook *internal.Webhook, r } // FinishInstallation completes the web flow for a GitHub App installation, returning a redirect to the app installation page. -func (c *client) FinishInstallation(ctx context.Context, request *http.Request, installID int64) (string, error) { +func (c *client) FinishInstallation(ctx context.Context, _ *http.Request, installID int64) (string, error) { c.Logger.Tracef("finishing GitHub App installation for ID %d", installID) client, err := c.newGithubAppClient()