Skip to content

Commit

Permalink
Merge pull request #2740 from github/revert-2724-marcogario/skip_proxy
Browse files Browse the repository at this point in the history
Revert "start-proxy: Skip proxy setup if no credentials are available"
  • Loading branch information
marcogario authored Jan 29, 2025
2 parents 54b1c84 + 7fdc1b8 commit 14b9c0e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
4 changes: 0 additions & 4 deletions lib/start-proxy-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/start-proxy-action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions src/start-proxy-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,6 @@ async function runWrapper() {
actionsUtil.getOptionalInput("registries_credentials"),
actionsUtil.getOptionalInput("language"),
);

if (credentials.length === 0) {
logger.info("No credentials found, skipping proxy setup.");
return;
}

logger.info(
`Credentials loaded for the following registries:\n ${credentials
.map((c) => credentialToStr(c))
Expand Down

0 comments on commit 14b9c0e

Please sign in to comment.