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]}}" }