From 81279060b8fcdaa9f73614d02b70a763215bd9b3 Mon Sep 17 00:00:00 2001 From: Nikita Andriyanov Date: Mon, 23 Dec 2024 15:12:32 +0300 Subject: [PATCH] f --- .github/workflows/notify.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/notify.yaml b/.github/workflows/notify.yaml index 8b61d92..a2d137b 100644 --- a/.github/workflows/notify.yaml +++ b/.github/workflows/notify.yaml @@ -7,6 +7,10 @@ on: required: false default: ${{ github.action_status }} type: string + name: + required: false + type: string + default: build jobs: notify: runs-on: ubuntu:latest @@ -16,6 +20,6 @@ jobs: MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }} PAYLOAD: | { - "text": "${{ github.repository }} [${{ github.workflow }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}) was ${{ inputs.result }} ${{ fromJson(env.icons)[inputs.result]}}" + "text": "${{ github.repository }} [${{inputs.name}}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}) was ${{ inputs.result }} ${{ fromJson(env.icons)[inputs.result]}}" }