From aa879e978ca67522fed88ec177aba0f0f5ec0dc1 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 15 Oct 2025 14:19:45 +0300 Subject: [PATCH] changes --- .gitea/actions/vk-notify/action.yaml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.gitea/actions/vk-notify/action.yaml b/.gitea/actions/vk-notify/action.yaml index f5e6332..388d2d9 100644 --- a/.gitea/actions/vk-notify/action.yaml +++ b/.gitea/actions/vk-notify/action.yaml @@ -1,18 +1,15 @@ name: 'notify' -description: 'notify' +description: 'Send VK Teams notification' inputs: result: required: false - default: "failure" + default: "failure" type: string name: required: false type: string default: build - secrets: - required: false - type: string token: required: true type: string @@ -20,8 +17,6 @@ inputs: required: true type: string - - runs: using: 'composite' steps: @@ -37,11 +32,15 @@ runs: *) echo "ICON=ℹ️" >> $GITHUB_ENV ;; esac - - uses: dosymep/vk-teams-action@v1.0.0 + - name: Notify VK Teams + uses: dosymep/vk-teams-action@v1.0.0 with: token: ${{ inputs.token }} to: ${{ inputs.to }} format: MarkdownV2 message: | - ${{ github.repository }} [${{ inputs.name }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}) - was ${{ inputs.result }} by ${{ github.event.sender.login }} ${{ env.ICON }} + *${{ github.repository }}* \- \[${{ inputs.name }}\]\(${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}\) \ + was *${{ inputs.result }}* by ${{ github.event.sender.login }} ${{ env.ICON }} + + - name: Wait a bit (ensure send completes) + run: sleep 5