Add GitHub Actions CI/CD, staging, and production workflows#4
Open
kiro-agent[bot] wants to merge 3 commits intomainfrom
Open
Add GitHub Actions CI/CD, staging, and production workflows#4kiro-agent[bot] wants to merge 3 commits intomainfrom
kiro-agent[bot] wants to merge 3 commits intomainfrom
Conversation
Create three workflow files: - ci.yml: CI pipeline on PRs and pushes to main (analyze, test, compliance) - promotion.yml: Staging deployment with CDK deploy and outputs summary - production.yml: Production deployment with manual dispatch, confirmation gate, environment protection, and CDK outputs summary All workflows use subosito/flutter-action@v2, pin actions to major versions, include compliance checks, and CDK output steps parse cdk-outputs.json into formatted markdown tables in GITHUB_STEP_SUMMARY with emoji indicators. Co-authored-by: Johannes Koch <github@lockhead.net>
Co-authored-by: Johannes Koch <github@lockhead.net>
Co-authored-by: Johannes Koch <github@lockhead.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request was generated by @kiro-agent 👻
Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent
Summary
Creates three GitHub Actions workflow files in
.github/workflows/:1.
ci.yml- CI Pipelinemainand pull requestsflutter pub get,flutter analyze,flutter test, compliance check,flutter build web2.
promotion.yml- Staging Deploymentmainand manualworkflow_dispatchstagingenvironmentKiroMobile-Stagingstack)3.
production.yml- Production Deploymentworkflow_dispatchonly, requires explicit "yes" confirmation and a git refproductionenvironment (designed for required reviewers/approval gates)KiroMobile-Productionstack)envvariables to prevent expression injectionCDK Exports Summary Format
Both deployment workflows parse
cdk-outputs.jsonand render:<details>block with the raw JSONNotes
aws-actions/configure-aws-credentials@v4) - the IAM role ARN and region must be set in GitHub environment secrets