Skip to content

Default release publishing to prerelease#1233

Merged
stephentoub merged 1 commit into
mainfrom
copilot/update-gh-action-default-to-prerelease
May 8, 2026
Merged

Default release publishing to prerelease#1233
stephentoub merged 1 commit into
mainfrom
copilot/update-gh-action-default-to-prerelease

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

Manual release publishing defaulted to latest, increasing the risk of accidentally cutting a stable release. The workflow should make prerelease publishing the safe default.

  • Workflow dispatch
    • Changed the dist-tag default in .github/workflows/publish.yml from latest to prerelease.
    • Kept latest, prerelease, and unstable as explicit selectable options.
dist-tag:
  default: "prerelease"

Agent-Logs-Url: https://github.com/github/copilot-sdk/sessions/c70da0eb-ac13-4b57-b27b-628b04b13c2e

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
@stephentoub stephentoub marked this pull request as ready for review May 8, 2026 13:31
@stephentoub stephentoub requested a review from a team as a code owner May 8, 2026 13:31
Copilot AI review requested due to automatic review settings May 8, 2026 13:31
@stephentoub stephentoub merged commit 299ea21 into main May 8, 2026
12 checks passed
@stephentoub stephentoub deleted the copilot/update-gh-action-default-to-prerelease branch May 8, 2026 13:31
Copy link
Copy Markdown
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

Updates the manual release publishing workflow to default to a safer prerelease distribution tag, reducing the risk of accidentally publishing a stable (latest) release from a workflow dispatch.

Changes:

  • Changed the workflow_dispatch input dist-tag default from latest to prerelease.
  • Kept latest, prerelease, and unstable as selectable options.
Show a summary per file
File Description
.github/workflows/publish.yml Switches the dist-tag input default to prerelease while preserving the existing explicit tag options.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

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