notify/README.md
Marcel S. Henselin 0414cf6dfb
Some checks failed
Sample Testing / my_job (push) Failing after 1m27s
CI / lint (push) Failing after 2m51s
CI / release (push) Failing after 4m2s
feat: pipeline container build
2026-04-17 16:03:31 +02:00

32 lines
838 B
Markdown

# google-chat-action
![githaub-action google-chat](./google-chat-action.png)
Sample Usage:
```yaml
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
```
TODO - icon_slug