blob: d2ab6f6e1957c044f486b74e00ef7889b9fa943e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
package com.getbootstrap.rorschach.github
import org.eclipse.egit.github.core.RepositoryId
import org.eclipse.egit.github.core.client.GitHubClient
import com.getbootstrap.rorschach.server.{Settings, ActorWithLogging}
abstract class GitHubActorWithLogging extends ActorWithLogging {
private val settings = Settings(context.system)
protected val BootstrapRepoId = new RepositoryId("twbs", "bootstrap")
protected val gitHubClient = new GitHubClient()
gitHubClient.setCredentials(settings.BotUsername, settings.BotPassword)
}
|