Skip to content

delivery-much/actions-chat

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

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@delivery-much/actions-chat

Messages are sent by chat.js and defined in messages.js.

We use Axios as HTTP client and the basic instance is defined in axios.js.

Supported messages

Inputs

url

Required Your Google Chat Webhook URL. You can find it in "Configure Webhooks" option in Chat rooms.

Example workflows

New pull request

  • Create a file chat-pull-request.yml in .github/workflows/ directory with the following content:
name: chat-pull-request 
on:
  pull_request:
    types: [opened, reopened, ready_for_review]
jobs:
  chat:
    runs-on: ubuntu-latest
    steps:
      - uses: delivery-much/actions-chat@v1
        with:
          url: ${{ secrets.GOOGLE_CHAT_PULL_REQUEST_WEBHOOK_URL }}

New release

  • Create a file chat-release.yml in .github/workflows/ directory with the following content:
name: chat-release
on:
  release:
    types: [created]
jobs:
  chat:
    runs-on: ubuntu-latest
    steps:
      - uses: delivery-much/actions-chat@v1
        with:
          url: ${{ secrets.GOOGLE_CHAT_RELEASE_WEBHOOK_URL }}

About

Send Google Chat messages

Topics

Resources

License

Stars

Watchers

Forks

Contributors