From 3b00a575f270b4ccd5b29d13561ac88d7fba4c70 Mon Sep 17 00:00:00 2001 From: Nick Boldt Date: Tue, 30 Mar 2021 02:41:46 -0400 Subject: [PATCH] use :no_entry_sign: or :white_check_mark:... (#747) * use :no_entry_sign: or :white_check_mark: when announcing pass/fail in MM Change-Id: I0870d567865ef4ad52a87aaa436e14c426adfa46 Signed-off-by: nickboldt * #19334 use mattermost/action-mattermost-notify@1.0.2 instead of master Signed-off-by: nickboldt --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9caf6708a..fa7aa2c05 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,13 +96,13 @@ jobs: - name: Create failure MM message if: ${{ failure() }} run: | - echo "{\"text\":\":building_construction: Che Operator ${{ github.event.inputs.version }} release has failed: https://github.com/eclipse-che/che-operator/actions/workflows/release.yml\"}" > mattermost.json + echo "{\"text\":\":no_entry_sign: Che Operator ${{ github.event.inputs.version }} release has failed: https://github.com/eclipse-che/che-operator/actions/workflows/release.yml\"}" > mattermost.json - name: Create success MM message run: | - echo "{\"text\":\":building_construction: Che Operator ${{ github.event.inputs.version }} release PR have been created: https://github.com/eclipse-che/che-operator/pulls/che-bot\"}" > mattermost.json + echo "{\"text\":\":white_check_mark: Che Operator ${{ github.event.inputs.version }} release PR have been created: https://github.com/eclipse-che/che-operator/pulls/che-bot\"}" > mattermost.json - name: Send MM message if: ${{ success() }} || ${{ failure() }} - uses: mattermost/action-mattermost-notify@master + uses: mattermost/action-mattermost-notify@1.0.2 env: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} MATTERMOST_CHANNEL: eclipse-che-releases