Skip to content

adds carto api key to deploy action - #37

Merged
tomjemmett merged 1 commit into
mainfrom
add_envvar_to_deploy_action
Oct 12, 2026
Merged

tomjemmett merged 1 commit into
mainfrom
add_envvar_to_deploy_action

Conversation

@tomjemmett

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings September 16, 2026 11:32

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.

🟡 Changes recommended

The workflow now deploys a key that the app exposes to browsers (client-side window.CARTO_API_KEY usage), so token sensitivity/scoping should be corrected or explicitly validated before merging.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR updates the manual Connect publish GitHub Actions workflow to provide a Carto API key to the deployed Connect application via an environment variable, enabling the app’s map tile layer to authenticate against Carto.

Changes:

  • Add CONNECT_ENV_SET_CARTO_API_KEY to the Connect publish step so CARTO_API_KEY is set on the deployed content.
File summaries
File Description
.github/workflows/connect-publish-manual.yaml Passes CARTO_API_KEY into the Connect deployment environment via CONNECT_ENV_SET_*.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/connect-publish-manual.yaml
@tomjemmett

Copy link
Copy Markdown
Member Author

the carto key needs to be injected into the browser, so this is fine.

@tomjemmett
tomjemmett requested a review from matt-dray October 12, 2026 09:51
@tomjemmett tomjemmett self-assigned this Oct 12, 2026
@matt-dray
matt-dray removed their request for review October 12, 2026 09:51

@matt-dray matt-dray 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.

Cheers.

@tomjemmett
tomjemmett merged commit f57013d into main Oct 12, 2026
3 checks passed
@tomjemmett
tomjemmett deleted the add_envvar_to_deploy_action branch October 12, 2026 09:52
@matt-dray matt-dray added this to the v6.1.0 milestone Oct 12, 2026
@matt-dray matt-dray added enhancement New feature or request priority: must MoSCoW priority labels Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: must MoSCoW priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants