VK Teams Notification
Version updated for dosymep/vk-teams-action to version v1.0.0.
- This action is used across all versions by ? repositories.
Go to the GitHub Marketplace to find the latest changes.
Release notes
Publish first release
GitHub Action for sending a VK Teams notification message.
Inputs
to
Required chat id.token
Required bot token.api_url
Required bot api url. Defaulthttps://myteam.mail.ru/bot/v1
.message
Optional custom message.message_file
Optional overwrite the default message template with the contents of the specified file.format
Optional message format:MarkdownV2
orHTML
. Default"MarkdownV2"
. See text formatting.file_path
Optional send file.
Outputs
response
VK Teams server response.
Example usage
Default message
- name: Send message (default)
uses: dosymep/vk-teams-action@v1
with:
to: ${{ secrets.VK_TEAMS_TO }}
token: ${{ secrets.VK_TEAMS_TOKEN }}
api_url: ${{ secrets.VK_TEAMS_API_URL }}
Custom message
- name: Send message (custom)
uses: dosymep/vk-teams-action@v1
with:
to: ${{ secrets.VK_TEAMS_TO }}
token: ${{ secrets.VK_TEAMS_TOKEN }}
api_url: ${{ secrets.VK_TEAMS_API_URL }}
message: |
[#42](https://github.com/${{ github.repository }})
[repository](https://github.com/${{ github.repository }})