im-open/Post status update to MS Teams
Posts a status update to Teams.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| title | The title of the card posted to Teams. | yes | GitHub Actions Workflow Status Update |
| workflow-status | The status to report. The values success and failure will result in green and red color indicators (respectively) on the Teams Card. Anything else will result in gray. | yes | — |
| workflow-type | The type of workflow. The most common types are Build or Deploy, but the value isn't restricted so anything can be used. | yes | Build |
| teams-uri | The Teams webhook URI where notifications are sent. | yes | — |
| custom-facts | JSON-parseable string defining a list of objects with name and value to display on the facts table. | no | "" |
| custom-actions | JSON-parseable string defining a list of objects with name and uri to include in the list of actions. | no | "" |
| timezone | A valid database timezone name, e.g. America/Denver. | yes | UTC |
| environment | Name of the environment. Won't be included if none. | no | "" |
| fail-on-error | When set to true will return an exit code 1 should the action fail to send the Teams notification. Default to `false`. | no | false |
| include-default-facts | A flag determining whether or not to include the default facts. True and false are the expected values. The default facts are event type, status, and the repository and branch url. | no | true |
Outputs
no outputs