Skip to content

Conversation

mbg
Copy link
Member

@mbg mbg commented Dec 13, 2024

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@mbg mbg marked this pull request as ready for review December 13, 2024 17:06
@Copilot Copilot AI review requested due to automatic review settings December 13, 2024 17:06
@mbg mbg requested a review from a team as a code owner December 13, 2024 17:06
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • pr-checks/.gitignore: Language not supported
Comments suppressed due to low confidence (1)

lib/start-proxy-action.js:155

  • The variable name 'registry_urls' should be 'registryUrls' to follow camelCase naming convention.
const registry_urls = config.all_credentials

Tip: Turn on automatic Copilot reviews for this repository to get quick feedback on every pull request. Learn more

core.setOutput("proxy_ca_certificate", config.ca.cert);

const registry_urls = config.all_credentials
.filter((credential) => credential.url !== undefined)
Copy link

Copilot AI Dec 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The filter condition should use 'credential.url != null' instead of 'credential.url !== undefined' to properly filter out both 'undefined' and 'null' values.

Suggested change
.filter((credential) => credential.url !== undefined)
.filter((credential) => credential.url != null)

Copilot uses AI. Check for mistakes.

@mbg mbg merged commit 9d59969 into main Dec 16, 2024
530 checks passed
@mbg mbg deleted the mbg/private-registries/feed-outputs branch December 16, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants