Skip to content

Commit

Permalink
fix(gitea): pass through gitPrivateKey (#6074)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janosch Hildebrand committed Apr 28, 2020
1 parent cc3554f commit 4a266c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/platform/gitea/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ type GiteaRenovateConfig = {

interface GiteaRepoConfig {
storage: GitStorage;
gitPrivateKey?: string;
repository: string;
localDir: string;
defaultBranch: string;
Expand Down Expand Up @@ -240,6 +241,7 @@ const platform: Platform = {

async initRepo({
repository,
gitPrivateKey,
localDir,
optimizeForDisabled,
}: RepoParams): Promise<RepoConfig> {
Expand All @@ -248,6 +250,7 @@ const platform: Platform = {

config = {} as any;
config.repository = repository;
config.gitPrivateKey = gitPrivateKey;
config.localDir = localDir;

// Attempt to fetch information about repository
Expand Down

0 comments on commit 4a266c6

Please sign in to comment.