4 Commits

Author SHA1 Message Date
2d988f683e Merge pull request 'new_notify' (#21) from new_notify into main
Reviewed-on: #21
2025-10-13 11:17:09 +00:00
3fd05f9744 Merge branch 'main' into new_notify 2025-10-13 11:17:03 +00:00
4b4f23fe19 Merge branch 'new_notify' of bb.hublab.ru:HUB/workflows into new_notify 2025-10-13 14:16:42 +03:00
d617b37876 Change tok 2025-10-13 14:16:39 +03:00

View File

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