https://github.com/appleboy/gtalk-action
GitHub Action that sends a Gtalk message.
https://github.com/appleboy/gtalk-action
github github-actions google gtalk
Last synced: about 2 months ago
JSON representation
GitHub Action that sends a Gtalk message.
- Host: GitHub
- URL: https://github.com/appleboy/gtalk-action
- Owner: appleboy
- Created: 2019-10-26T07:18:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2026-03-28T04:07:09.000Z (3 months ago)
- Last Synced: 2026-03-28T09:35:44.141Z (3 months ago)
- Topics: github, github-actions, google, gtalk
- Language: Dockerfile
- Homepage: https://github.com/marketplace/actions/gtalk-message-notify
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚀 Gtalk for GitHub Actions
[GitHub Action](https://developer.github.com/actions/) for sending a [Gtalk](https://developers.google.com/talk) notification message. You can get the OAuth token in [Google playground](https://developers.google.com/oauthplayground/). Please set the scope as `https://www.googleapis.com/auth/googletalk`.
[](https://github.com/appleboy/gtalk-action/actions)

## Usage
Send custom message as below
```yaml
name: gtalk message
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: send custom message with args
uses: appleboy/gtalk-action@master
with:
username: ${{ secrets.USERNAME }}
oauth_token: ${{ secrets.OAUTH_TOKEN }}
to: ${{ secrets.TO}}
args: The ${{ github.event_name }} event triggered first step.
```
## Input variables
* username - required. gtalk user email.
* oauth_token - required. AuthToken provides go-xmpp with the required OAuth2 token used to authenticate. Get token from [OAuth Playground](https://developers.google.com/oauthplayground/).
* to - required. send message to user.
* message - optional. custom message.
## Example
Send custom message in `message`
```yaml
- name: send message
uses: appleboy/gtalk-action@master
with:
username: ${{ secrets.USERNAME }}
oauth_token: ${{ secrets.OAUTH_TOKEN }}
to: ${{ secrets.TO}}
message: The ${{ github.event_name }} event triggered first step.
```
Send the default message.
```yaml
- name: send message
uses: appleboy/gtalk-action@master
with:
username: ${{ secrets.USERNAME }}
oauth_token: ${{ secrets.OAUTH_TOKEN }}
to: ${{ secrets.TO}}
```