Skip to content

Commit 180bd37

Browse files
SONARJAVA-6190 Update automated release workflow (#5517)
1 parent 992acf1 commit 180bd37

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

.github/workflows/automated-release.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ on:
1515
description: "New version to release (without -SNAPSHOT; if left empty, the current minor version will be auto-incremented)"
1616
required: false
1717
type: string
18-
rule-props-changed:
19-
description: >
20-
"@RuleProperty" changed? See SC-4654
21-
type: boolean
22-
default: false
2318
verbose:
2419
description: "Enable verbose logging"
2520
type: boolean
@@ -41,14 +36,9 @@ on:
4136
type: boolean
4237
default: true
4338
bump-version:
44-
description: "Create PR for next iteration"
39+
description: "Create PR to bump the next iteration version"
4540
type: boolean
4641
default: true
47-
issue-categories:
48-
description: "Jira issue categories to include in the release notes"
49-
required: false
50-
type: string
51-
default: "Feature,False Positive,False Negative,Bug,Security,Maintenance"
5242

5343
jobs:
5444
release:
@@ -68,7 +58,7 @@ jobs:
6858
plugin-artifacts-sqc: "java"
6959
jira-project-key: "SONARJAVA"
7060
runner-environment: "github-ubuntu-latest-s"
71-
rule-props-changed: ${{ github.event.inputs.rule-props-changed }}
61+
rule-props-changed: false
7262
short-description: ${{ github.event.inputs.short-description }}
7363
new-version: ${{ github.event.inputs.new-version }}
7464
sqc-integration: ${{ github.event.inputs.sqc-integration == 'true' }}
@@ -78,11 +68,11 @@ jobs:
7868
create-slvscode-ticket: ${{ github.event.inputs.ide-integration == 'true' }}
7969
branch: ${{ github.event.inputs.branch }}
8070
pm-email: "jean.jimbo@sonarsource.com"
81-
slack-channel: "squad-jvm-notifs"
71+
slack-channel: "squad-jvm-releases"
8272
verbose: ${{ github.event.inputs.verbose == 'true' }}
8373
use-jira-sandbox: ${{ github.event.inputs.dry-run == 'true' }}
8474
is-draft-release: ${{ github.event.inputs.dry-run == 'true' }}
85-
issue-categories: ${{ github.event.inputs.issue-categories }}
75+
issue-categories: "Feature,False Positive,False Negative,Bug,Security,Maintenance"
8676

8777
bump_versions:
8878
name: Bump versions

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
publishToBinaries: true
3232
mavenCentralSync: true
33-
slackChannel: squad-jvm-notifs
33+
slackChannel: squad-jvm-releases
3434
# 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
3535
version: ${{ inputs.version || github.event.release.tag_name }}
3636
releaseId: ${{ inputs.releaseId || github.event.release.id }}

0 commit comments

Comments
 (0)