Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/egnuez/telegram-action
Telegram Action
https://github.com/egnuez/telegram-action
github-actions javascript telegram
Last synced: 7 days ago
JSON representation
Telegram Action
- Host: GitHub
- URL: https://github.com/egnuez/telegram-action
- Owner: egnuez
- Created: 2020-07-09T17:06:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-18T19:29:38.000Z (over 2 years ago)
- Last Synced: 2023-03-21T04:25:19.084Z (almost 2 years ago)
- Topics: github-actions, javascript, telegram
- Language: JavaScript
- Homepage:
- Size: 79.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Telegram action
Sends commit message and custom message to a Telegram Chat ID
## Inputs
### `bot-token`
**Mandatory** Telegram Bot Token.
### `chat-id`
**Mandatory** Chat where the message is send to.
### `custom-message`
Custom message.
## Example
```yml
on: [push]jobs:
telegram_job:
runs-on: ubuntu-latest
name: Send alert to Telegram
steps:
- name: Telegram action step
uses: emilianito/telegram-action@v1
with:
bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
chat-id: ${{ secrets.TELEGRAM_CHAT_ID }}
custom-message: 'Custom message'
```