Notify via Google Chat
Find a file
Marcel S. Henselin 2a8f2dea76
Some checks failed
Sample Testing / my_job (push) Failing after 1m37s
chore: test old
2026-04-16 12:21:31 +02:00
.github/workflows chore: use Dockerfile 2026-04-16 10:18:48 +02:00
.gitignore chore: initial release 2026-04-16 08:24:44 +02:00
action.yml chore: use Dockerfile 2026-04-16 10:21:35 +02:00
docker-slimbuild v0.7 2020-10-25 02:32:01 +06:30
Dockerfile chore: use Dockerfile 2026-04-16 10:05:28 +02:00
go.mod chore: test old 2026-04-16 12:21:31 +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: test old 2026-04-16 12:21:31 +02:00
main_test.go chore: test old 2026-04-16 11:55:54 +02:00
message.tpl chore: test old 2026-04-16 12:21:31 +02:00
message_old.tpl chore: test old 2026-04-16 11:55:54 +02:00
README.md chore: initial release 2026-04-16 08:24:44 +02:00
sample.tpl chore: test old 2026-04-16 12:11:24 +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"