Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 808 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 808 Bytes

Hangouts Chat Action

Send Pull request notifications to your Google Hangouts Chat room

Usage

Build and Push with your Hangouts Chats Webhook Url

export GOOGLE_HANGOUTS_WEBHOOK_URL=<webhook-url>
DOCKER_REPO=<your-repo> ./build.sh

Workflow notify.yaml

name: Notify Pull Request
on: [pull_request]
jobs:
  hangouts:
    name: Hangouts
    runs-on: ubuntu-18.04
    steps:
      - name: Send Message
        uses: docker://<your-repo>/hangouts-action:latest
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          # Name of this action. This is used to ignore the self check
          SELF_ACTION_NAME: Hangouts
          # Pull requests marked with this label are ignored when sending notifications
          SKIP_NOTIFY_LABEL: work-in-progress