Skip to content

Improve CI/CD workflows (and support merge queues)#56

Merged
HappyPaul55 merged 2 commits intomainfrom
improve-cd-cd-workflows
May 21, 2025
Merged

Improve CI/CD workflows (and support merge queues)#56
HappyPaul55 merged 2 commits intomainfrom
improve-cd-cd-workflows

Conversation

@HappyPaul55
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 21, 2025 12:16
Copy link
Copy Markdown

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 improves the CI/CD workflows to enhance automation and support merge queues.

  • Introduces new sub workflows for release, build, and deploy.
  • Adds dedicated workflows for main branch merges and feature branch builds/deployments, while removing legacy branch build configurations.

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/subworkflow-release.yml Adds a release workflow to publish to the App Marketplace.
.github/workflows/subworkflow-deploy.yml Introduces a deploy workflow for the demo environment.
.github/workflows/subworkflow-build.yml Implements a build workflow covering lint, test, build, and tag processes.
.github/workflows/pr_build.yml Removed in favor of consolidated workflows.
.github/workflows/main_merge.yml Configures main branch builds with tagging and subsequent release.
.github/workflows/feature_build.yml Provides build and deploy steps for feature branches and merge queues.
.github/workflows/branch_build.yml Deprecated branch build workflow removed.

id: package
working-directory: app-package
run: |
packageFilename=`jq -r .name manifest.json | iconv -t ascii//TRANSLIT | sed -r s/[~\^]+//g | sed -r s/[^a-zA-Z0-9]+/-/g | sed -r s/^-+\|-+$//g | tr A-Z a-z`
Copy link

Copilot AI May 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider quoting the sed expressions (for example: sed -r "s/^-+|-+$//g") to enhance readability and avoid potential issues with word splitting.

Suggested change
packageFilename=`jq -r .name manifest.json | iconv -t ascii//TRANSLIT | sed -r s/[~\^]+//g | sed -r s/[^a-zA-Z0-9]+/-/g | sed -r s/^-+\|-+$//g | tr A-Z a-z`
packageFilename=`jq -r .name manifest.json | iconv -t ascii//TRANSLIT | sed -r "s/[~\^]+//g" | sed -r "s/[^a-zA-Z0-9]+/-/g" | sed -r "s/^-+|-+$//g" | tr A-Z a-z`

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/subworkflow-deploy.yml Dismissed
Comment thread .github/workflows/subworkflow-deploy.yml Dismissed
Comment thread .github/workflows/subworkflow-deploy.yml Dismissed
@github-actions
Copy link
Copy Markdown

@HappyPaul55 HappyPaul55 merged commit afa7601 into main May 21, 2025
5 checks passed
@HappyPaul55 HappyPaul55 deleted the improve-cd-cd-workflows branch May 21, 2025 12:29
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.

3 participants