Skip to content

Support Creating Apps with Environment Variables#3

Merged
justinmcbride merged 2 commits intomainfrom
justinmcbride/spark-234-create-with-vars
Mar 28, 2025
Merged

Support Creating Apps with Environment Variables#3
justinmcbride merged 2 commits intomainfrom
justinmcbride/spark-234-create-with-vars

Conversation

@justinmcbride
Copy link
Copy Markdown
Collaborator

Copilot AI review requested due to automatic review settings March 28, 2025 21:44
Copy link
Copy Markdown
Contributor

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.

Pull Request Overview

This PR adds support for creating GitHub Runtime apps with environment variables and secrets, enhancing the command-line interface by accepting key=value pairs via new flags.

  • Added new command flags (--env and --secret) for passing environment variables and secrets.
  • Updated the request body construction to parse the incoming flags into maps.
  • Modified CLI examples to illustrate the new functionality.

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

Comment thread cmd/create.go Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@justinmcbride justinmcbride merged commit 1b070ca into main Mar 28, 2025
1 check passed
@salvador-barboza salvador-barboza deleted the justinmcbride/spark-234-create-with-vars branch September 2, 2025 14:37
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.

2 participants