From 6df55bdba676530886ca9caebeffaf222df99ff6 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 15 Oct 2025 15:12:39 +0300 Subject: [PATCH] add new secret --- .gitea/actions/vk-notify/action.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.gitea/actions/vk-notify/action.yaml b/.gitea/actions/vk-notify/action.yaml index bdcb59b..8630b0f 100644 --- a/.gitea/actions/vk-notify/action.yaml +++ b/.gitea/actions/vk-notify/action.yaml @@ -10,12 +10,6 @@ inputs: required: false type: string default: build - token: - required: true - type: string - to: - required: true - type: string runs: using: 'composite' @@ -35,8 +29,8 @@ runs: - name: Notify VK Teams uses: dosymep/vk-teams-action@v1.0.0 with: - token: ${{ inputs.token }} - to: ${{ inputs.to }} + token: ${{ secrets.VK_TEAMS_BOT_TOKEN }} + to: ${{ secrets.VK_TEAMS_CHAT_ID }} format: MarkdownV2 message: | *${{ github.repository }}* \- \[${{ inputs.name }}\]\(${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}\) \ -- 2.49.1