Notify via Google Chat
|
|
||
|---|---|---|
| .github/workflows | ||
| .dockerignore | ||
| .gitignore | ||
| action.yml | ||
| docker-slimbuild | ||
| Dockerfile | ||
| go.mod | ||
| LICENSE | ||
| main.go | ||
| main_test.go | ||
| message.tpl | ||
| README.md | ||
google-chat-action
Sample Usage:
name: Sample Testing
on: [push]
jobs:
my_job:
runs-on: ubuntu-latest
steps:
# ... all your steps
- name: Sample Chat Message
if: ${{ always() }} # runs als after fails
uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v0.1.2
with:
title: "[START] sample test (${{ forgejo.run_number }})"
author: ${{ forgejo.actor }}
giturl: ${{ forgejo.server_url }}
iconslug: instacart # optional
# status: ${{ job.status }} # optional
actionid: ${{ forgejo.run_number }}
webhook: "${{ secrets.WEBHOOK_URL }}"
event_body: "This is a sample <b>TEXT</b><br>with a new line" # optional
