You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
converting to an adaptive card and adding link (#9)
<!-- markdownlint-disable-next-line first-line-heading -->
## Description
Adding ability to display a link button through the notification in
teams
## Context
Enables users to optionally provide a link and to display this in the
notification. Also switched to using AdaptiveCards for the incoming
webhook format.
## Type of changes
- [X] Refactoring (non-breaking change)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would change existing
functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
## Checklist
- [X] I am familiar with the [contributing
guidelines](../docs/CONTRIBUTING.md)
- [X] I have followed the code style of the project
- [X] I have added tests to cover my changes
- [X] I have updated the documentation accordingly
- [ ] This PR is a result of pair or mob programming
---
## Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others
privacy, we kindly ask you to NOT including [PII (Personal Identifiable
Information) / PID (Personal Identifiable
Data)](https://digital.nhs.uk/data-and-information/keeping-data-safe-and-benefitting-the-public)
or any other sensitive data in this PR (Pull Request) and the codebase
changes. We will remove any PR that do contain any sensitive
information. We really appreciate your cooperation in this matter.
- [X] I confirm that neither PII/PID nor sensitive data are included in
this PR and the codebase changes.
message-title: "Replace with an appropriate title"
33
33
message-text: "Replace with appropriate text"
34
+
link: https://google.com
34
35
```
35
36
36
37
Follow the instructions [to add an Incoming Webhook](https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook?tabs=dotnet) to the Teams channel of your choice.
@@ -71,6 +72,7 @@ The steps above detail how to quickly use this action within your repository. Th
71
72
- message-title - the title for your message - this will be displayed in the notification
72
73
- message-text - the text for your message - this will be displayed in the notification
73
74
- message-colour - The colour to use for the header line in the notification
75
+
- link - optional if required provide a link to be presented in the notification
0 commit comments