зеркало из https://github.com/github/ruby.git
Show short message to Slack
This commit is contained in:
Родитель
1940347fdf
Коммит
a1d606c079
|
@ -62,10 +62,7 @@ jobs:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
"attachments": [{
|
"attachments": [{
|
||||||
"title": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }}",
|
"text": "<https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }}> (<https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>)",
|
||||||
"title_link": "https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks",
|
|
||||||
"text": "${{ github.repository }}@${{ github.ref }}: <https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>",
|
|
||||||
"fields": [{ "value": ${{ toJson(github.event.head_commit.message) }}, "short": false }],
|
|
||||||
"footer": "${{ github.event.head_commit.committer.name }} at ${{ github.event.head_commit.timestamp }}",
|
"footer": "${{ github.event.head_commit.committer.name }} at ${{ github.event.head_commit.timestamp }}",
|
||||||
"color": "danger"
|
"color": "danger"
|
||||||
}]
|
}]
|
||||||
|
|
|
@ -70,10 +70,7 @@ jobs:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
"attachments": [{
|
"attachments": [{
|
||||||
"title": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }}",
|
"text": "<https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }}> (<https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>)",
|
||||||
"title_link": "https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks",
|
|
||||||
"text": "${{ github.repository }}@${{ github.ref }}: <https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>",
|
|
||||||
"fields": [{ "value": ${{ toJson(github.event.head_commit.message) }}, "short": false }],
|
|
||||||
"footer": "${{ github.event.head_commit.committer.name }} at ${{ github.event.head_commit.timestamp }}",
|
"footer": "${{ github.event.head_commit.committer.name }} at ${{ github.event.head_commit.timestamp }}",
|
||||||
"color": "danger"
|
"color": "danger"
|
||||||
}]
|
}]
|
||||||
|
|
|
@ -59,10 +59,7 @@ jobs:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
"attachments": [{
|
"attachments": [{
|
||||||
"title": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }}",
|
"text": "<https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }}> (<https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>)",
|
||||||
"title_link": "https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks",
|
|
||||||
"text": "${{ github.repository }}@${{ github.ref }}: <https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>",
|
|
||||||
"fields": [{ "value": ${{ toJson(github.event.head_commit.message) }}, "short": false }],
|
|
||||||
"footer": "${{ github.event.head_commit.committer.name }} at ${{ github.event.head_commit.timestamp }}",
|
"footer": "${{ github.event.head_commit.committer.name }} at ${{ github.event.head_commit.timestamp }}",
|
||||||
"color": "danger"
|
"color": "danger"
|
||||||
}]
|
}]
|
||||||
|
|
Загрузка…
Ссылка в новой задаче