-
Notifications
You must be signed in to change notification settings - Fork 355
Add proxy_binary
input to start-proxy
action
#2871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,10 @@ name: "CodeQL: Start proxy" | |
description: "[Experimental] Start HTTP proxy server. This action is for internal GitHub used only and will change without notice." | ||
author: "GitHub" | ||
inputs: | ||
proxy_binary: | ||
description: >- | ||
A path for the proxy binary to use. | ||
required: false | ||
Comment on lines
+5
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a question, not anything definitive. We're now giving the user an option of specifying an executable. Are there any security vulnerabilities that this opens up? Maybe the answer is "no" since this is already running in an action, which already allows execution of arbitrary code. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I figured we allow the same sort of thing with the |
||
registry_secrets: | ||
description: The URLs and credentials of package registries | ||
required: false | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What sort of error is emitted if
proxy_binary
doesn't exist or isn't executable? Is there a try-catch somewhere that emits a meaningful error message in this case?