Skip to content

Commit

Permalink
Also check absence of private-key for PR resource
Browse files Browse the repository at this point in the history
  • Loading branch information
zkdev committed Oct 30, 2024
1 parent cc4cd11 commit 9912d55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions concourse/resources/github.mako
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,10 @@ credentials = github_cfg.credentials()
skip_ssl_verification: ${disable_tls_validation}
access_token: ${credentials.auth_token()}
no_ssl_verify: ${disable_tls_validation}
% if credentials.private_key():
private_key: |
${indent_func(6)(credentials.private_key()).strip()}
% endif
username: '${credentials.username()}'
password: '${credentials.passwd()}'
% if require_label:
Expand Down

0 comments on commit 9912d55

Please sign in to comment.