From 42616b85efc640a12e0fcf429e02882e15665c35 Mon Sep 17 00:00:00 2001 From: Nikita Andriyanov Date: Mon, 23 Dec 2024 13:04:51 +0300 Subject: [PATCH] fix --- .github/workflows/notify.yaml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/notify.yaml b/.github/workflows/notify.yaml index bf6b75c..dfa6511 100644 --- a/.github/workflows/notify.yaml +++ b/.github/workflows/notify.yaml @@ -8,13 +8,11 @@ on: type: string jobs: gradle-build: - runs-on: ubuntu-latest - steps: - - uses: mattermost/action-mattermost-notify@master - with: - MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }} - PAYLOAD: | - { - "text": "${{ github.repository }} [Pipeline](${{ github.server_url }}/${{ inputs.repository }}/actions/runs/${{ github.run_number }}) was canceled :man_facepalming:" - } + uses: mattermost/action-mattermost-notify@master + with: + MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }} + PAYLOAD: | + { + "text": "${{ github.repository }} [Pipeline](${{ github.server_url }}/${{ inputs.repository }}/actions/runs/${{ github.run_number }}) was canceled :man_facepalming:" + }