Uh oh!
There was an error while loading. Please reload this page.
feat: Add Contentstack Authentication toggle to project creation. - #195
Conversation
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
There was a problem hiding this comment.
Pull request overview
Adds a new Contentstack Authentication toggle to the project-creation flow so environments can be created either restricted to the org (default) or publicly accessible (when explicitly disabled).
Changes:
- Introduces a new
--disable-cs-authCLI flag and wires it through both GitHub and File Upload project creation flows. - Adds
isContentstackAuthenticationEnabledto the config type and sends it as part of environment settings during project creation. - Adds unit tests covering prompt behavior and flag-driven disabling in both adapters.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/types/launch.ts | Extends Launch config typing with isContentstackAuthenticationEnabled. |
| src/commands/launch/index.ts | Adds the --disable-cs-auth flag and a usage example (also touches --response-mode help text). |
| src/adapters/github.ts | Prompts for CS auth enablement (or disables via flag) and forwards the setting in project creation mutation input. |
| src/adapters/github.test.ts | Adds tests for the new prompt/flag behavior in GitHub adapter flow. |
| src/adapters/file-upload.ts | Mirrors the CS auth prompt/flag behavior and forwards the setting in project creation mutation input. |
| src/adapters/file-upload.test.ts | Adds tests for the new prompt/flag behavior in File Upload adapter flow. |
| .github/workflows/issues-jira.yml | Removes the “Create Jira Ticket for GitHub Issue” workflow (appears unrelated to the PR’s stated feature). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
8e52690 to
6f66f46Compare🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
6f66f46 to
4f80c81Compare🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Set the isContentstackAuthenticationEnabled environment field when creating a new Launch project, for both the GitHub and FileUpload flows. Contentstack Authentication is enabled by default; users can opt out with the new --disable-cs-auth flag or by answering "no" at the interactive prompt (which defaults to enabled). #claude_code# 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
4f80c81 to
c6ecdc1Compare🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
No description provided.