Notify via Google Chat
Find a file
Marcel S. Henselin f51f6faf19
Some checks failed
Sample Testing / my_job (push) Failing after 38s
chore: cleanup
2026-04-17 15:30:15 +02:00
.github/workflows chore: cleanup 2026-04-17 15:30:15 +02:00
.dockerignore fix: fix params 2026-04-17 14:39:47 +02:00
.gitignore chore: initial release 2026-04-16 08:24:44 +02:00
action.yml chore: use image instead of build 2026-04-17 14:57:40 +02:00
docker-slimbuild chore: use image instead of build 2026-04-17 14:57:40 +02:00
Dockerfile fix: url params 2026-04-17 13:39:22 +02:00
go.mod fix: url params 2026-04-17 13:04:00 +02:00
google-chat-action.png add image 2020-10-25 02:50:19 +06:30
LICENSE Create LICENSE 2020-11-16 12:24:32 +06:30
main.go chore: use image instead of build 2026-04-17 14:57:40 +02:00
main_test.go fix: url params 2026-04-17 13:04:00 +02:00
message.tpl chore: use image instead of build 2026-04-17 15:02:44 +02:00
README.md chore: initial release 2026-04-16 08:24:44 +02:00

google-chat-action

githaub-action google-chat

Sample Usage:

name: Sample Testing
on: [push]

jobs:
  my_job:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v6

    - name: Get commit hash
      if: ${{ always() }}
      run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
      id: slug

    - name: Chat Setup
      if: ${{ always() }}
      uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v0
      with:
        project: ${{ github.repository }}
        commit: ${{ steps.slug.outputs.sha8 }}
        branch: ${{ github.ref }}
        status: ${{ job.status }}
        actionid: ${{ github.repository }}/runs/${{ github.run_id }}
        webhook: "https://chat.googleapis.com/v1/spaces/AAAAzPcAy4s/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=MmdzluicdrdkyUAV_QwB6BzlLcIhbfrwNzxVrEllaec%3D&threadKey=git-commit"