Merge pull request 'new_notify' (#21) from new_notify into main
Reviewed-on: #21
This commit is contained in:
4
.github/workflows/notify.yaml
vendored
4
.github/workflows/notify.yaml
vendored
@@ -17,8 +17,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ICONS: '{"success":"✅","failure":"❌","canceled":"🤦","started":"⚠️"}'
|
ICONS: '{"success":"✅","failure":"❌","canceled":"🤦","started":"⚠️"}'
|
||||||
with:
|
with:
|
||||||
token: ${{ fromJSON(inputs.secrets).VK_TEAMS_BOT_TOKEN }}
|
token: ${{ secrets.VK_TEAMS_BOT_TOKEN }}
|
||||||
to: ${{ fromJSON(inputs.secrets).VK_TEAMS_CHAT_ID }}
|
to: ${{ secrets.VK_TEAMS_CHAT_ID }}
|
||||||
format: MarkdownV2
|
format: MarkdownV2
|
||||||
message: |
|
message: |
|
||||||
${{ github.repository }} \[${{inputs.name}}\]\(${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}\) was ${{ inputs.result }} by ${{ github.event.sender.login }} ${{ fromJson(env.ICONS)[inputs.result] }}
|
${{ github.repository }} \[${{inputs.name}}\]\(${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}\) was ${{ inputs.result }} by ${{ github.event.sender.login }} ${{ fromJson(env.ICONS)[inputs.result] }}
|
||||||
|
|||||||
Reference in New Issue
Block a user