From 764e97be488d27e5a9bb0bbd446dbbfefd70348f Mon Sep 17 00:00:00 2001 From: Tomasz Tylenda Date: Fri, 6 Mar 2026 14:23:42 +0100 Subject: [PATCH] Update automated release workflow --- .github/workflows/automated-release.yml | 18 ++++-------------- .github/workflows/release.yml | 2 +- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/automated-release.yml b/.github/workflows/automated-release.yml index 85f81282044..fed3d631901 100644 --- a/.github/workflows/automated-release.yml +++ b/.github/workflows/automated-release.yml @@ -15,11 +15,6 @@ on: description: "New version to release (without -SNAPSHOT; if left empty, the current minor version will be auto-incremented)" required: false type: string - rule-props-changed: - description: > - "@RuleProperty" changed? See SC-4654 - type: boolean - default: false verbose: description: "Enable verbose logging" type: boolean @@ -41,14 +36,9 @@ on: type: boolean default: true bump-version: - description: "Create PR for next iteration" + description: "Create PR to bump the next iteration version" type: boolean default: true - issue-categories: - description: "Jira issue categories to include in the release notes" - required: false - type: string - default: "Feature,False Positive,False Negative,Bug,Security,Maintenance" jobs: release: @@ -68,7 +58,7 @@ jobs: plugin-artifacts-sqc: "java" jira-project-key: "SONARJAVA" runner-environment: "github-ubuntu-latest-s" - rule-props-changed: ${{ github.event.inputs.rule-props-changed }} + rule-props-changed: false short-description: ${{ github.event.inputs.short-description }} new-version: ${{ github.event.inputs.new-version }} sqc-integration: ${{ github.event.inputs.sqc-integration == 'true' }} @@ -78,11 +68,11 @@ jobs: create-slvscode-ticket: ${{ github.event.inputs.ide-integration == 'true' }} branch: ${{ github.event.inputs.branch }} pm-email: "jean.jimbo@sonarsource.com" - slack-channel: "squad-jvm-notifs" + slack-channel: "squad-jvm-releases" verbose: ${{ github.event.inputs.verbose == 'true' }} use-jira-sandbox: ${{ github.event.inputs.dry-run == 'true' }} is-draft-release: ${{ github.event.inputs.dry-run == 'true' }} - issue-categories: ${{ github.event.inputs.issue-categories }} + issue-categories: "Feature,False Positive,False Negative,Bug,Security,Maintenance" bump_versions: name: Bump versions diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0be6806fdcb..52aa22101e8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: with: publishToBinaries: true mavenCentralSync: true - slackChannel: squad-jvm-notifs + slackChannel: squad-jvm-releases # We do not have any inputs if this workflow is triggered by a release event, hence we have to use a fallback for all inputs version: ${{ inputs.version || github.event.release.tag_name }} releaseId: ${{ inputs.releaseId || github.event.release.id }}