Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
---
name: Release
on:
release:
types:
- published
workflow_dispatch:
inputs:
version:
Comment on lines 3 to 6

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The removal of the release: types: [published] trigger converts the release pipeline from fully automated to semi-manual. Previously, automated-release.yml created a GitHub release → that publication event fired this workflow automatically. Now a human must go to the Actions tab and run this workflow after the automated release completes.

Before merging, please confirm:

  • Is this intentional? (e.g., v7 of gh-action_release provides its own trigger mechanism, or the team wants an explicit gate?)
  • Has the release runbook / CONTRIBUTING docs been updated to document the new manual step?
  • Are there any internal automation tools (e.g. Jira release automations, internal bots) that relied on this workflow firing automatically on release publication that would now silently break?

type: string
description: "Release version tag (e.g., 1.2.3). Used when triggering manually instead of via release event."
required: true
releaseId:
type: string
description: "GitHub release ID. Used when triggering manually instead of via release event."
description: "Full version including build number (e.g. 1.2.3.456)"
required: true
dryRun:
type: boolean
Expand All @@ -28,11 +21,10 @@ jobs:
permissions:
id-token: write
contents: write
uses: SonarSource/gh-action_release/.github/workflows/main.yaml@v6
uses: SonarSource/gh-action_release/.github/workflows/main.yaml@v7
with:
publishToBinaries: true
mavenCentralSync: true
slackChannel: squad-rust
version: ${{ inputs.version || github.event.release.tag_name }}
releaseId: ${{ inputs.releaseId || github.event.release.id }}
version: ${{ inputs.version }}
dryRun: ${{ inputs.dryRun == true }}
Loading