platformplatform / PlatformPlatform

Alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
258 stars 26 forks source link

Ensure GitHub workflows are enabled when running configure-continuous-deployments CLI command #527

Closed tjementum closed 5 months ago

tjementum commented 5 months ago

Summary & Motivation

Ensure that when running the configure-continuous-deployments CLI command on a newly forked/cloned repository, GitHub workflows are enabled. Due to a recent change in GitHub, the CLI can no longer start a workflow using gh workflow run to enable workflows automatically. Now, if workflows are not enabled, a browser is opened, and the user must enable workflows before the CLI continues.

The configure-continuous-deployments CLI command has been updated to replace the null-conditional operator in Config?.Path with the null-forgiving operator Config!.Path. All GitHub CLI commands now explicitly specify the GitHub repository. Additionally, method names in the configure-continuous-deployments CLI command have been refined for consistency and clarity.

Checklist