stackdone/MS Teams Notification (Adaptive Card)

Send a rich Adaptive Card notification to Microsoft Teams via a Workflows webhook: status, jobs, commit, files, buttons.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
webhook-urlTeams 'Workflows' webhook URL (NOT the legacy Incoming Webhook connector — see README).yes
statusJob/workflow result, e.g. success, failure, cancelled.yes
app-nameName shown in the card title, e.g. 'my-app'.no${{ github.repository }}
github-tokenToken used to fetch the commit message, changed files and job statuses via the GitHub REST API. Omit to skip those sections (needs 'contents: read' + 'actions: read').no""
include-jobsAdd a per-job status/duration breakdown: 'true', 'false', or 'on-failure' (only when status isn't success). Needs github-token.notrue
run-idWorkflow run ID used to fetch run/job details.no${{ github.run_id }}
workflow-nameWorkflow name shown in the card.no${{ github.workflow }}
repoowner/repo, used for API + link URLs.no${{ github.repository }}
shaCommit SHA to look up and link to.no${{ github.sha }}
ref-nameBranch or tag name shown in the card.no${{ github.ref_name }}
event-nameTriggering event name shown in the card.no${{ github.event_name }}
actorActor shown in the card.no${{ github.actor }}
run-urlURL for the 'View run' button.no${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
commit-urlURL for the 'View commit' button.no${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}
ref-urlURL the branch/tag name links to.no${{ github.server_url }}/${{ github.repository }}/tree/${{ github.ref }}
pr-numberPull request number, adds a 'View PR' button when set.no""
max-jobsJobs shown up front; the rest are collapsed behind an expandable '…and N more' line.no5
max-filesChanged files shown up front; the rest are collapsed behind an expandable 'Show N more files' button.no5

no outputs