notify/.github/workflows/example.yml
Marcel S. Henselin ffd2cd4716
All checks were successful
Sample Testing / my_job (push) Successful in 39s
chore: cleanup
2026-04-17 15:11:26 +02:00

29 lines
919 B
YAML

name: Sample Testing
on: [push]
jobs:
my_job:
runs-on: stackit-docker
steps:
- name: First Chat Message
if: ${{ always() }}
uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v0.1.2
with:
author: ${{ forgejo.actor }}
giturl: ${{ forgejo.server_url }}
# status: ${{ job.status }} # optional
actionid: ${{ forgejo.run_number }}
webhook: "${{ secrets.WEBHOOK_URL }}"
# event_body: "" # optional
- name: Second Chat Message as ThreadResponse
if: ${{ always() }}
uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v0.1.2
with:
author: ${{ forgejo.actor }}
giturl: ${{ forgejo.server_url }}
status: ${{ job.status }}
actionid: ${{ forgejo.run_number }}
webhook: "${{ secrets.WEBHOOK_URL }}"
event_body: "this time <b>I</b> provided a body"