Skip to content

appleboy/gtalk-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Gtalk for GitHub Actions

GitHub Action for sending a Gtalk notification message. You can get the OAuth token in Google playground. Please set the scope as https://www.googleapis.com/auth/googletalk.

Actions Status

logo

Usage

Send custom message as below

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.
  • to - required. send message to user.
  • message - optional. custom message.

Example

Send custom message in message

- 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.

- name: send message
  uses: appleboy/gtalk-action@master
  with:
    username: ${{ secrets.USERNAME }}
    oauth_token: ${{ secrets.OAUTH_TOKEN }}
    to: ${{ secrets.TO}}

About

GitHub Action that sends a Gtalk message.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published