Skip to content

ci: add pre-release workflow for per-PR dev builds#273

Open
cloudsmith-iduffy wants to merge 1 commit intomasterfrom
iduffy/pre-release-cli
Open

ci: add pre-release workflow for per-PR dev builds#273
cloudsmith-iduffy wants to merge 1 commit intomasterfrom
iduffy/pre-release-cli

Conversation

@cloudsmith-iduffy
Copy link
Contributor

Description

Add a GitHub Actions workflow that builds and publishes pre-release packages to Cloudsmith for manual testing on a per-PR basis.

Triggered by either:

  • Adding the 'pre-release' label to a PR
  • Commenting '/pre-release' on a PR

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring
  • Other - Developer Experience.

Additional Notes

The idea here is to allow us to generate releases to test out the functionality in various different environments.

@cloudsmith-iduffy cloudsmith-iduffy requested a review from a team as a code owner March 12, 2026 15:35
Copilot AI review requested due to automatic review settings March 12, 2026 15:35
Copy link
Contributor

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

Adds a GitHub Actions workflow to produce per-PR pre-release (dev) builds of the CLI and publish them to Cloudsmith for manual testing, triggered via a pre-release label or /pre-release PR comment.

Changes:

  • Introduces a new Pre-release GitHub Actions workflow triggered by PR label or slash-command comment.
  • Checks out the PR head SHA, sets a .dev{pr}{epoch} version, builds sdist/wheel, and publishes them to Cloudsmith.
  • Posts install instructions back to the PR and removes the pre-release label after label-triggered runs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Add a GitHub Actions workflow that builds and publishes pre-release
packages to Cloudsmith for manual testing on a per-PR basis.

Trigger by either:
  - Adding the 'pre-release' label to a PR
  - Commenting '/pre-release' on a PR (collaborators only)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants