From 6394fccea290265330d2ebf71ec3db853fba20b6 Mon Sep 17 00:00:00 2001 From: Nick Boldt Date: Mon, 11 Sep 2023 14:21:00 -0300 Subject: [PATCH] chore: disable mattermost notification as it doesn't work (#1752) Change-Id: I9c8742a02305e24daff786ef84e86989e99aecca Signed-off-by: Nick Boldt --- .../release-community-operator-PRs.yml | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release-community-operator-PRs.yml b/.github/workflows/release-community-operator-PRs.yml index 2626c1034..9cf92903a 100644 --- a/.github/workflows/release-community-operator-PRs.yml +++ b/.github/workflows/release-community-operator-PRs.yml @@ -60,17 +60,17 @@ jobs: export QUAY_USERNAME_OS=${{ secrets.QUAY_ECLIPSE_CHE_OPERATOR_OPENSHIFT_USERNAME }} export QUAY_PASSWORD_OS=${{ secrets.QUAY_ECLIPSE_CHE_OPERATOR_OPENSHIFT_PASSWORD }} build/scripts/release/make-release.sh --prepare-community-operators-update ${{ github.event.inputs.forceflag }} - - name: Create failure MM message - if: ${{ failure() }} - run: | - echo "{\"text\":\":no_entry_sign: Che Community Operator ${{ github.event.inputs.version }} release has failed: https://github.com/eclipse-che/che-operator/actions/workflows/release-community-operator-PRs.yml\"}" > mattermost.json - - name: Create success MM message - run: | - echo "{\"text\":\":white_check_mark: Che Community Operator ${{ github.event.inputs.version }} release PR has been created: https://github.com/redhat-openshift-ecosystem/community-operators-prod/pulls?q=is%3Apr+is%3Aopen+eclipse-che\"}" > mattermost.json - - name: Send MM message - if: ${{ success() }} || ${{ failure() }} - uses: mattermost/action-mattermost-notify@1.1.0 - env: - MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} - MATTERMOST_CHANNEL: eclipse-che-releases - MATTERMOST_USERNAME: che-bot + # - name: Create failure MM message + # if: ${{ failure() }} + # run: | + # echo "{\"text\":\":no_entry_sign: Che Community Operator ${{ github.event.inputs.version }} release has failed: https://github.com/eclipse-che/che-operator/actions/workflows/release-community-operator-PRs.yml\"}" > mattermost.json + # - name: Create success MM message + # run: | + # echo "{\"text\":\":white_check_mark: Che Community Operator ${{ github.event.inputs.version }} release PR has been created: https://github.com/redhat-openshift-ecosystem/community-operators-prod/pulls?q=is%3Apr+is%3Aopen+eclipse-che\"}" > mattermost.json + # - name: Send MM message + # if: ${{ success() }} || ${{ failure() }} + # uses: mattermost/action-mattermost-notify@1.1.0 + # env: + # MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} + # MATTERMOST_CHANNEL: eclipse-che-releases + # MATTERMOST_USERNAME: che-bot