fix
This commit is contained in:
8
.github/workflows/notify.yaml
vendored
8
.github/workflows/notify.yaml
vendored
@@ -3,9 +3,13 @@ name: notify
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
needs:
|
||||
result:
|
||||
required: true
|
||||
type: string
|
||||
name:
|
||||
required: false
|
||||
type: string
|
||||
default: 'build'
|
||||
jobs:
|
||||
notify:
|
||||
runs-on: gpu
|
||||
@@ -15,6 +19,6 @@ jobs:
|
||||
MATTERMOST_WEBHOOK_URL: ${{ secrets.webhook }}
|
||||
PAYLOAD: |
|
||||
{
|
||||
"text": "${{ github.repository }} [Pipeline](${{ github.server_url }}/${{ inputs.repository }}/actions/runs/${{ github.run_number }}) was success :white_check_mark:"
|
||||
"text": "${{ github.repository }} [${{ inputs.name}}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}) was ${{ inputs.status}} :white_check_mark:"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user