FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add private registry URLs as output to the `start-proxy` Action by mbg · Pull Request #2652 · github/codeql-action · GitHub

Add private registry URLs as output to the start-proxy Action - #2652

Merged
mbg merged 6 commits into
mainfrom
mbg/private-registries/feed-outputs
Dec 16, 2024
Merged

mbg merged 6 commits into
mainfrom
mbg/private-registries/feed-outputs

Conversation

mbg commented Dec 13, 2024

Copy link
Copy Markdown
Member

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 marked this pull request as ready for review December 13, 2024 17:06
Copilot AI review requested due to automatic review settings December 13, 2024 17:06
mbg requested a review from a team as a code owner December 13, 2024 17:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Comment thread src/start-proxy-action.ts
core.setOutput("proxy_ca_certificate", config.ca.cert);

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

Copilot AI Dec 13, 2024

Copy link

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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 merged commit 9d59969 into main Dec 16, 2024
mbg deleted the mbg/private-registries/feed-outputs branch December 16, 2024 17:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL