fix: move default value for jwtGithubAudience to action.yml

This commit is contained in:
Alex Kulikovskikh 2021-10-05 18:01:36 -04:00
parent 7f400189c6
commit 3a6afdfc5c
3 changed files with 3 additions and 2 deletions

2
dist/index.js vendored
View file

@ -1253,7 +1253,7 @@ async function retrieveToken(method, client) {
const githubAudience = core.getInput('jwtGithubAudience', { required: false });
if (!privateKey) {
jwt = await core.getIDToken(githubAudience || 'sigstore')
jwt = await core.getIDToken(githubAudience)
} else {
jwt = generateJwt(privateKey, keyPassword, Number(tokenTtl));
}