From f75d0370656977b89fe4f603f2e4cd7c7754e887 Mon Sep 17 00:00:00 2001 From: tomasz-tylenda-sonarsource Date: Mon, 23 Feb 2026 10:11:47 +0100 Subject: [PATCH 1/9] SONARJAVA-6140 Add automated release workflow (#5474) Co-authored-by: Claude Opus 4.6 --- .github/workflows/PrepareNextIteration.yml | 37 +++++++--- .github/workflows/automated-release.yml | 82 ++++++++++++++++++++++ .github/workflows/release.yml | 18 +++++ 3 files changed, 129 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/automated-release.yml diff --git a/.github/workflows/PrepareNextIteration.yml b/.github/workflows/PrepareNextIteration.yml index 31cf5889293..f07996702a3 100644 --- a/.github/workflows/PrepareNextIteration.yml +++ b/.github/workflows/PrepareNextIteration.yml @@ -1,10 +1,15 @@ name: Prepare Next Development Iteration on: + workflow_call: + inputs: + version: + required: true + type: string workflow_dispatch: inputs: - nextVersion: - description: Version number of the next iteration + version: + description: The new version (without -SNAPSHOT) required: true jobs: @@ -15,20 +20,36 @@ jobs: pull-requests: write contents: write + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NEXT_VERSION: "${{ inputs.version }}-SNAPSHOT" + steps: - name: Checkout Sources uses: actions/checkout@v4 - name: Update Version Number - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NEXT_VERSION: ${{ inputs.nextVersion }} run: | git config user.name "${GITHUB_ACTOR}" git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" - git checkout -b gh-action/next-iteration + git config --global core.autocrlf input + git config --global core.safecrlf true + BRANCH="gh-action/next-iteration.${{ github.run_id }}" + git checkout -b "${BRANCH}" mvn versions:set -DgenerateBackupPoms=false -DnewVersion="${NEXT_VERSION}" git commit -m 'Prepare next development iteration' -a - git push --set-upstream origin gh-action/next-iteration - gh pr create -B master --title 'Prepare next development iteration' --body '' + git push --set-upstream origin "${BRANCH}" + echo "branch=${BRANCH}" >> $GITHUB_OUTPUT + + - name: Create Pull Request + id: create-pr + run: | + URL=$(gh pr create --draft --base master --title "Prepare next development iteration ${NEXT_VERSION}" --body '') + echo "url=${URL}" >> $GITHUB_OUTPUT + + - name: Summary + run: | + echo "Generated ${{steps.create-pr.outputs.url}}." >> $GITHUB_STEP_SUMMARY + echo "New version set to ${NEXT_VERSION}." >> $GITHUB_STEP_SUMMARY + echo "Tip: close and reopen the PR to trigger CI. " >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/automated-release.yml b/.github/workflows/automated-release.yml new file mode 100644 index 00000000000..b59c973e6f9 --- /dev/null +++ b/.github/workflows/automated-release.yml @@ -0,0 +1,82 @@ +name: Automated Release +on: + workflow_dispatch: + inputs: + short-description: + description: "Short description for the REL ticket" + required: true + type: string + branch: + description: "Branch from which to do the release" + required: true + default: "master" + type: string + new-version: + 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 + default: false + dry-run: + description: "Test mode: uses Jira sandbox and creates draft GitHub release" + type: boolean + default: true + ide-integration: + description: "Integrate into IDE" + type: boolean + default: true + sqc-integration: + description: "Integrate into SQC" + type: boolean + default: true + sqs-integration: + description: "Integrate into SQS" + type: boolean + default: true + +jobs: + release: + name: Release + uses: SonarSource/release-github-actions/.github/workflows/automated-release.yml@v1 + permissions: + statuses: read + id-token: write + contents: write + actions: write + pull-requests: write + with: + project-name: "SonarJava" + plugin-name: "java" + jira-project-key: "SONARJAVA" + runner-environment: "github-ubuntu-latest-s" + rule-props-changed: ${{ github.event.inputs.rule-props-changed }} + short-description: ${{ github.event.inputs.short-description }} + new-version: ${{ github.event.inputs.new-version }} + sqc-integration: ${{ github.event.inputs.sqc-integration == 'true' }} + sqs-integration: ${{ github.event.inputs.sqs-integration == 'true' }} + create-sle-ticket: ${{ github.event.inputs.ide-integration == 'true' }} + create-sli-ticket: ${{ github.event.inputs.ide-integration == 'true' }} + 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" + verbose: ${{ github.event.inputs.verbose == 'true' }} + use-jira-sandbox: ${{ github.event.inputs.dry-run == 'true' }} + is-draft-release: ${{ github.event.inputs.dry-run == 'true' }} + + bump_versions: + name: Bump versions + needs: release + uses: ./.github/workflows/PrepareNextIteration.yml + permissions: + contents: write + pull-requests: write + with: + version: ${{ needs.release.outputs.new-version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 796cd57c8eb..0be6806fdcb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,20 @@ on: release: types: - published + workflow_dispatch: + inputs: + version: + type: string + description: Version + required: true + releaseId: + type: string + description: Release ID + required: true + dryRun: + type: boolean + description: Flag to enable the dry-run execution + default: false jobs: release: @@ -17,3 +31,7 @@ jobs: publishToBinaries: true mavenCentralSync: true slackChannel: squad-jvm-notifs + # 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 }} + dryRun: ${{ inputs.dryRun == true }} From 3d437bdf7670e4261b6ddf54d110f062aab50f82 Mon Sep 17 00:00:00 2001 From: tomasz-tylenda-sonarsource Date: Wed, 25 Feb 2026 17:54:02 +0100 Subject: [PATCH 2/9] SONARJAVA-6150 Automated Release: Add Jira issue categories (#5484) --- .github/workflows/automated-release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/automated-release.yml b/.github/workflows/automated-release.yml index b59c973e6f9..0e1e78c5fa2 100644 --- a/.github/workflows/automated-release.yml +++ b/.github/workflows/automated-release.yml @@ -40,6 +40,11 @@ on: description: "Integrate into SQS" 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: @@ -70,6 +75,7 @@ jobs: 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 }} bump_versions: name: Bump versions From 898beaf7463fcbc75d2d17d57213ec12ce4f84cf Mon Sep 17 00:00:00 2001 From: tomasz-tylenda-sonarsource Date: Thu, 5 Mar 2026 19:59:55 +0100 Subject: [PATCH 3/9] SONARJAVA-6188 Use plugin-artifacts to fix SQS and SQC integrations (#5511) --- .github/workflows/automated-release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/automated-release.yml b/.github/workflows/automated-release.yml index 0e1e78c5fa2..85f81282044 100644 --- a/.github/workflows/automated-release.yml +++ b/.github/workflows/automated-release.yml @@ -40,6 +40,10 @@ on: description: "Integrate into SQS" type: boolean default: true + bump-version: + description: "Create PR for next iteration" + type: boolean + default: true issue-categories: description: "Jira issue categories to include in the release notes" required: false @@ -59,6 +63,9 @@ jobs: with: project-name: "SonarJava" plugin-name: "java" + # Artifacts are matched exactly, so this will prevent updating javascript. + plugin-artifacts-sqs: "java" + plugin-artifacts-sqc: "java" jira-project-key: "SONARJAVA" runner-environment: "github-ubuntu-latest-s" rule-props-changed: ${{ github.event.inputs.rule-props-changed }} @@ -79,6 +86,7 @@ jobs: bump_versions: name: Bump versions + if: ${{ github.event.inputs.bump-version == 'true' }} needs: release uses: ./.github/workflows/PrepareNextIteration.yml permissions: From e0c4d5418003ab6e07413b382abcb94a1235cd4f Mon Sep 17 00:00:00 2001 From: tomasz-tylenda-sonarsource Date: Fri, 6 Mar 2026 15:17:51 +0100 Subject: [PATCH 4/9] SONARJAVA-6190 Update automated release workflow (#5517) --- .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 }} From 022b982b614f2b0ab95c449ce429bc50ec2ffbec Mon Sep 17 00:00:00 2001 From: tomasz-tylenda-sonarsource Date: Thu, 12 Mar 2026 17:34:07 +0100 Subject: [PATCH 5/9] SONARJAVA-6193 Bump version using automated release and Maven (#5523) --- .github/workflows/PrepareNextIteration.yml | 5 ----- .github/workflows/automated-release.yml | 14 +++----------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/PrepareNextIteration.yml b/.github/workflows/PrepareNextIteration.yml index f07996702a3..db827629e0b 100644 --- a/.github/workflows/PrepareNextIteration.yml +++ b/.github/workflows/PrepareNextIteration.yml @@ -1,11 +1,6 @@ name: Prepare Next Development Iteration on: - workflow_call: - inputs: - version: - required: true - type: string workflow_dispatch: inputs: version: diff --git a/.github/workflows/automated-release.yml b/.github/workflows/automated-release.yml index fed3d631901..37e50ff3330 100644 --- a/.github/workflows/automated-release.yml +++ b/.github/workflows/automated-release.yml @@ -73,14 +73,6 @@ jobs: use-jira-sandbox: ${{ github.event.inputs.dry-run == 'true' }} is-draft-release: ${{ github.event.inputs.dry-run == 'true' }} issue-categories: "Feature,False Positive,False Negative,Bug,Security,Maintenance" - - bump_versions: - name: Bump versions - if: ${{ github.event.inputs.bump-version == 'true' }} - needs: release - uses: ./.github/workflows/PrepareNextIteration.yml - permissions: - contents: write - pull-requests: write - with: - version: ${{ needs.release.outputs.new-version }} + bump-version: ${{ github.event.inputs.bump-version == 'true' }} + bump-version-normalize: true + bump-version-tool: maven From bfe1aace24e47c6ef18ba6ae87c2ce1c5ed646e4 Mon Sep 17 00:00:00 2001 From: tomasz-tylenda-sonarsource Date: Tue, 3 Mar 2026 14:45:09 +0100 Subject: [PATCH 6/9] SONARJAVA-6185 Prepare Next Iteration: adjust for automated release (#5506) Co-authored-by: Claude Sonnet 4.6 --- .github/workflows/PrepareNextIteration.yml | 39 +++++++++++----------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/.github/workflows/PrepareNextIteration.yml b/.github/workflows/PrepareNextIteration.yml index db827629e0b..34a8a54f8a6 100644 --- a/.github/workflows/PrepareNextIteration.yml +++ b/.github/workflows/PrepareNextIteration.yml @@ -15,36 +15,35 @@ jobs: pull-requests: write contents: write - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NEXT_VERSION: "${{ inputs.version }}-SNAPSHOT" - steps: - name: Checkout Sources uses: actions/checkout@v4 + - name: Normalize Version + id: version + env: + VERSION: ${{ inputs.version }} + run: | + if [[ "$VERSION" =~ ^[0-9]+\.[0-9]+$ ]]; then + VERSION="${VERSION}.0" + fi + echo "full-version=${VERSION}-SNAPSHOT" >> $GITHUB_OUTPUT + - name: Update Version Number run: | - git config user.name "${GITHUB_ACTOR}" - git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" - git config --global core.autocrlf input - git config --global core.safecrlf true - BRANCH="gh-action/next-iteration.${{ github.run_id }}" - git checkout -b "${BRANCH}" - mvn versions:set -DgenerateBackupPoms=false -DnewVersion="${NEXT_VERSION}" - git commit -m 'Prepare next development iteration' -a - git push --set-upstream origin "${BRANCH}" - echo "branch=${BRANCH}" >> $GITHUB_OUTPUT + mvn versions:set -DgenerateBackupPoms=false -DnewVersion="${{ steps.version.outputs.full-version }}" - name: Create Pull Request + uses: SonarSource/release-github-actions/create-pull-request@v1 id: create-pr - run: | - URL=$(gh pr create --draft --base master --title "Prepare next development iteration ${NEXT_VERSION}" --body '') - echo "url=${URL}" >> $GITHUB_OUTPUT + with: + commit-message: "Prepare next development iteration ${{ steps.version.outputs.full-version }}" + title: "Prepare next development iteration ${{ steps.version.outputs.full-version }}" + branch: gh-action/next-iteration + branch-suffix: timestamp - name: Summary run: | - echo "Generated ${{steps.create-pr.outputs.url}}." >> $GITHUB_STEP_SUMMARY - echo "New version set to ${NEXT_VERSION}." >> $GITHUB_STEP_SUMMARY - echo "Tip: close and reopen the PR to trigger CI. " >> $GITHUB_STEP_SUMMARY + echo "Generated ${{steps.create-pr.outputs.pull-request-url}}." >> $GITHUB_STEP_SUMMARY + echo "New version set to ${{ steps.version.outputs.full-version }}." >> $GITHUB_STEP_SUMMARY From 33090e5826e2a9cc6d10d8c9f3699225a1807d54 Mon Sep 17 00:00:00 2001 From: tomasz-tylenda-sonarsource Date: Wed, 18 Feb 2026 11:28:36 +0100 Subject: [PATCH 7/9] SONARJAVA-6114 Provide GitHub token with RSpec access to rule-api.jar (#5470) --- .github/workflows/UpdateRuleMetadata.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/UpdateRuleMetadata.yml b/.github/workflows/UpdateRuleMetadata.yml index fa8b6c28db8..6840fbba263 100644 --- a/.github/workflows/UpdateRuleMetadata.yml +++ b/.github/workflows/UpdateRuleMetadata.yml @@ -3,7 +3,7 @@ name: Update Rule Metadata on: workflow_dispatch env: - PR_BRANCH_NAME: gh-action/update-rule-metadata + PR_BRANCH_NAME: "gh-action/update-rule-metadata.${{ github.run_id }}" jobs: UpdateRuleMetadata_job: @@ -38,12 +38,22 @@ jobs: distribution: 'temurin' java-version: '21' + - name: Getting Vault Secrets + id: secrets + uses: SonarSource/vault-action-wrapper@320bd31b03e5dacaac6be51bbbb15adf7caccc32 # v3.1.0 + with: + secrets: | + development/github/token/{REPO_OWNER_NAME_DASH}-rspec token | GITHUB_TOKEN_RSPEC; + - name: Update Files + env: + GITHUB_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).GITHUB_TOKEN_RSPEC }} run: | java -jar "/tmp/rule-api.jar" update sed --in-place='' -e 's/rule:java:S3649/rule:javasecurity:S3649/g' 'sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2077.html' - name: Create PR + id: create-pr env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | @@ -52,4 +62,10 @@ jobs: git checkout -b "${{ env.PR_BRANCH_NAME }}" git commit -m 'Update rule metadata' -a git push --set-upstream origin "${{ env.PR_BRANCH_NAME }}" - gh pr create -B master --title 'Update rule metadata' --body '' + URL=$(gh pr create -B master --title 'Update rule metadata' --body '') + echo "url=${URL}" >> $GITHUB_OUTPUT + + - name: Summary + run: | + echo "Generated ${{steps.create-pr.outputs.url}}." >> $GITHUB_STEP_SUMMARY + echo "Tip: close and reopen the PR to trigger CI. " >> $GITHUB_STEP_SUMMARY From 27853951df88f494b26260daa09ee450aa2e6955 Mon Sep 17 00:00:00 2001 From: tomasz-tylenda-sonarsource Date: Tue, 3 Mar 2026 13:27:09 +0100 Subject: [PATCH 8/9] SONARJAVA-6155 Use shared update rule metadata worflow (#5488) --- .github/workflows/UpdateRuleMetadata.yml | 75 +++++------------------- 1 file changed, 16 insertions(+), 59 deletions(-) diff --git a/.github/workflows/UpdateRuleMetadata.yml b/.github/workflows/UpdateRuleMetadata.yml index 6840fbba263..886199d8610 100644 --- a/.github/workflows/UpdateRuleMetadata.yml +++ b/.github/workflows/UpdateRuleMetadata.yml @@ -2,70 +2,27 @@ name: Update Rule Metadata on: workflow_dispatch -env: - PR_BRANCH_NAME: "gh-action/update-rule-metadata.${{ github.run_id }}" - jobs: - UpdateRuleMetadata_job: - name: Update Rule Metadata + rule-metadata-update: runs-on: github-ubuntu-latest-s permissions: - pull-requests: write - contents: write id-token: write - + contents: write + pull-requests: write steps: - - - name: Checkout Sources - uses: actions/checkout@v4 - - - name: Setup JFrog - uses: SonarSource/jfrog-setup-wrapper@v3 - with: - artifactoryRoleSuffix: private-reader - - - name: Setup Rule API - run: | - jfrog rt curl -sLf "sonarsource-private-releases/com/sonarsource/rule-api/rule-api/%5BRELEASE%5D/rule-api-%5BRELEASE%5D.jar" -o rule-api.jar - echo "Latest com.sonarsource.rule-api:rule-api release:" - jar xf rule-api.jar META-INF/MANIFEST.MF - grep 'Implementation-Version' META-INF/MANIFEST.MF - working-directory: /tmp - - - name: Setup Java - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '21' - - - name: Getting Vault Secrets - id: secrets - uses: SonarSource/vault-action-wrapper@320bd31b03e5dacaac6be51bbbb15adf7caccc32 # v3.1.0 + - name: Update Rule Metadata + id: update-rule-metadata + uses: SonarSource/release-github-actions/update-rule-metadata@v1 with: - secrets: | - development/github/token/{REPO_OWNER_NAME_DASH}-rspec token | GITHUB_TOKEN_RSPEC; - - - name: Update Files - env: - GITHUB_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).GITHUB_TOKEN_RSPEC }} - run: | - java -jar "/tmp/rule-api.jar" update - sed --in-place='' -e 's/rule:java:S3649/rule:javasecurity:S3649/g' 'sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2077.html' - - - name: Create PR - id: create-pr - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - git config user.name "${GITHUB_ACTOR}" - git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" - git checkout -b "${{ env.PR_BRANCH_NAME }}" - git commit -m 'Update rule metadata' -a - git push --set-upstream origin "${{ env.PR_BRANCH_NAME }}" - URL=$(gh pr create -B master --title 'Update rule metadata' --body '') - echo "url=${URL}" >> $GITHUB_OUTPUT + labels: '' + rspec-token-suffix: 'rspec' + post-update: | + sed --in-place='' -e 's/rule:java:S3649/rule:javasecurity:S3649/g' 'sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2077.html' - - name: Summary + - name: Check Rule Metadata Changes run: | - echo "Generated ${{steps.create-pr.outputs.url}}." >> $GITHUB_STEP_SUMMARY - echo "Tip: close and reopen the PR to trigger CI. " >> $GITHUB_STEP_SUMMARY + if [ "${{ steps.update-rule-metadata.outputs.has-changes }}" == "true" ]; then + echo "::notice title=Rule Metadata Changes::Changes detected and PR created: ${{ steps.update-rule-metadata.outputs.pull-request-url }}" + else + echo "::notice title=Rule Metadata Status::No changes to the rules metadata were detected" + fi \ No newline at end of file From 457abda327c0d72599c62cf9c60daf87e95fb5c1 Mon Sep 17 00:00:00 2001 From: tomasz-tylenda-sonarsource Date: Fri, 3 Apr 2026 12:03:51 +0200 Subject: [PATCH 9/9] SONARJAVA-6213 Delete obsolete Slack notification workflow (#5535) --- .github/workflows/slack_notify.yml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 .github/workflows/slack_notify.yml diff --git a/.github/workflows/slack_notify.yml b/.github/workflows/slack_notify.yml deleted file mode 100644 index 505cf90b514..00000000000 --- a/.github/workflows/slack_notify.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- -name: Slack Notifications -on: - check_suite: - types: [completed] - -permissions: - actions: read - contents: read - checks: read - id-token: write - -jobs: - slack-notifications: - if: >- - contains(fromJSON('["main", "master"]'), github.event.check_suite.head_branch) || startsWith(github.event.check_suite.head_branch, 'dogfood-') || startsWith(github.event.check_suite.head_branch, 'branch-') - runs-on: github-ubuntu-latest-s - steps: - - name: Send Slack Notification - env: - GITHUB_TOKEN: ${{ github.token }} - uses: SonarSource/gh-action_slack-notify@v1 - with: - slackChannel: squad-jvm-notifs