Notify via Google Chat
Find a file
2020-10-25 01:35:52 +06:30
.github/workflows v0.6 testing 2020-10-25 01:35:52 +06:30
action.yml update new version 2020-10-25 01:26:21 +06:30
docker-slimbuild new release v0.3 2020-10-14 18:11:01 +06:30
Dockerfile new release v0.3 2020-10-14 18:11:01 +06:30
main.go fix 0.5 2020-10-25 01:33:59 +06:30
README.md fix 0.5 2020-10-25 01:33:59 +06:30

google-chat-action

Sample

name: Sample Testing
on: [push]

jobs:
  my_job:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: Chat Setup
      uses: DTherHtun/google-chat-action@v0.6
      with:
        project: ${{ github.repository }}
        commit: ${{ github.sha }}
        branch: ${{ github.ref }}
        status: ${{ job.status }}
        actionid: ${{ github.action }}
        webhook: "https://chat.googleapis.com/v1/spaces/AAAAzPcAy4s/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=MmdzluicdrdkyUAV_QwB6BzlLcIhbfrwNzxVrEllaec%3D&threadKey=git-commit"



OR

for faster.

name: Sample Testing
on: [push]

jobs:
  my_job:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - run: echo ::set-output name=action_msg::Someone $GITHUB_EVENT_NAME to $GITHUB_REPOSITORY - $GITHUB_REF - commitid $GITHUB_SHA
      id: txt
    - name: Chat Setup
      uses: docker://dther/google-chat-action:latest
      with:
        msg: ${{ steps.txt.outputs.action_msg }}
        webhook: "https://chat.googleapis.co....."