| .. | ||
| action.yml | ||
| README.md | ||
publish-release-notes-via-webhook
Sends release notes to a Microsoft Teams channel via a Power Automate webhook.
Inputs
| Input | Required | Default | Description |
|---|---|---|---|
service-name |
Yes | — | Name of the service included in the webhook payload |
release-note |
Yes | — | Release notes markdown content to publish |
request-url |
Yes | — | Power Automate webhook URL |
Usage
- uses: https://schmalz-git.git.onstackit.cloud/schmalz/shared-actions/publish-release-notes-via-webhook@publish-release-notes-via-webhook-v1
with:
service-name: my-service
release-note: ${{ steps.notes.outputs.release-note }}
request-url: ${{ secrets.TEAMS_WEBHOOK_URL }}
Webhook Payload
The action sends a POST request with the following JSON body:
{
"servicename": "my-service",
"releasenote": "Folgende Änderungen wurden in Betrieb genommen:\n..."
}
| Field | Type | Description |
|---|---|---|
servicename |
string | Value of the service-name input |
releasenote |
string | Value of the release-note input (markdown) |
The Power Automate flow must accept a POST request with Content-Type: application/json and handle both fields.
Notes
- Designed to be used together with the
generate-release-notesaction, which exposes therelease-noteoutput. - The webhook URL should be stored as a secret and never hardcoded in the workflow.