Skip to content

Comments

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

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

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

Conversation

@HappyPaul55
Copy link
Contributor

No description provided.

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

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 refines and consolidates the CI/CD workflows while introducing support for merge queues. Key changes include the addition of new workflows for release, deployment, build, main branch merges, and feature builds, as well as the removal of deprecated workflows.

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
.github/workflows/subworkflow-release.yml Introduces a release workflow to deploy packages to the Marketplace.
.github/workflows/subworkflow-deploy.yml Adds a deployment workflow for PR demo environments with SSH context.
.github/workflows/subworkflow-build.yml Implements a build workflow that lints, tests, builds, and tags the code.
.github/workflows/main_merge.yml Creates a main branch build workflow coordinating build and release.
.github/workflows/feature_build.yml New feature build workflow with merge queue support.
.github/workflows/pr_build.yml and branch_build.yml Deprecated workflows removed in favor of consolidated flows.

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 using the $(...) syntax for command substitution instead of backticks for improved readability and consistency.

Copilot uses AI. Check for mistakes.
https://api.github.com/repos/deskpro/deskpro-product/contents/docker/compose/deskpro-demo/docker-compose.yml

- name: Create Docker SSH context
uses: deskpro/gh-actions/create-ssh-docker-context@master
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.

Pin the version of the 'create-ssh-docker-context' action instead of referencing the 'master' branch to ensure stability.

Copilot uses AI. Check for mistakes.

- name: Deploy demo
id: deployment
uses: deskpro/gh-actions/deploy-deskpro-demo@master
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.

Pin the version of the 'deploy-deskpro-demo' action instead of using the 'master' branch to avoid potential instability.

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

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

1 participant