marcus-hooper/Send Teams Notification
Send an Adaptive Card to Microsoft Teams via webhook (PowerShell)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| job_status | Status of the calling job (success, failure, cancelled) | yes | — |
| commit_messages | JSON array for a FactSet (e.g., [{ "title": "SHA", "value": "Message" }]) | no | [] |
| environment | Deployment environment name | no | "" |
| card_title | Title for the adaptive card | no | 🔔 GitHub Deployment |
| repository | Repository name to display (defaults to GITHUB_REPOSITORY) | no | "" |
| actor | Actor name to display (defaults to GITHUB_ACTOR) | no | "" |
| webhook_url | Teams incoming webhook URL | yes | — |
| run_id | GitHub Actions run ID (for link to the run) | no | "" |
Outputs
| name | description |
|---|---|
| sent | Whether a POST to Teams was attempted/sent |
| payload_bytes | Size of the JSON payload in bytes |
| run_url | URL to the workflow run (computed from context) |