12
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2026-05-21 06:41:55 +00:00
This commit is contained in:
Michel Hiemstra 2026-05-13 11:11:03 +10:00 committed by GitHub
commit f4d1b2afd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 20 additions and 0 deletions

View file

@ -59,6 +59,11 @@ async function exportSecrets() {
}
}
const http2 = (core.getInput('http2', { required: false }) || 'false').toLowerCase() != 'false';
if (http2 === true) {
defaultOptions.http2 = true;
}
const tlsSkipVerify = (core.getInput('tlsSkipVerify', { required: false }) || 'false').toLowerCase() != 'false';
if (tlsSkipVerify === true) {
defaultOptions.https.rejectUnauthorized = false;