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 }}\) \