notify/README.md
Marcel S. Henselin 15d776c790
Some checks failed
Sample Testing / my_job (push) Failing after 30s
chore: REDAME
2026-04-17 15:35:58 +02:00

30 lines
820 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
```