Skip to content

Commit

Permalink
Debug inputs for SetOps Credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvocke committed Aug 30, 2024
1 parent 6821f08 commit 251988c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/lib/setup-setops.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async function run() {
const githubToken = core.getInput('github_token');

if ((loginUsername || loginPassword || loginOrganization) && !(loginUsername && loginPassword && loginOrganization)) {
const errorMsg = 'When providing setops_username, setops_password or setops_organization, all of them must be set.'
const errorMsg = `When providing setops_username, setops_password or setops_organization, all of them must be set. length(loginUsername): ${loginUsername.length}, length(loginUsername): ${loginPassword.length}, length(loginOrganization): ${loginOrganization.length} `
const dependabotHint = '\nThis run was triggered by Dependabot. If you want to grant Dependabot access to your SetOps credentials, add them to the dedicated Dependabot Secrets in the repository settings.'
throw new Error(errorMsg + (triggeredByDependabot ? dependabotHint : ''));
}
Expand Down

0 comments on commit 251988c

Please sign in to comment.