add imput
This commit is contained in:
6
.github/workflows/notify.yaml
vendored
6
.github/workflows/notify.yaml
vendored
@@ -2,6 +2,10 @@ name: notify
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
repository:
|
||||
required: true
|
||||
type: string
|
||||
jobs:
|
||||
gradle-build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -11,6 +15,6 @@ jobs:
|
||||
MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }}
|
||||
PAYLOAD: |
|
||||
{
|
||||
"text": "${{ github.repository }} [Pipeline](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}) was canceled :man_facepalming:"
|
||||
"text": "${{ github.repository }} [Pipeline](${{ github.server_url }}/${{ inputs.repository }}/actions/runs/${{ github.run_number }}) was canceled :man_facepalming:"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user