30 lines
820 B
Markdown
30 lines
820 B
Markdown
# google-chat-action
|
|
|
|

|
|
|
|
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
|
|
|
|
```
|