Skip to content

Commit

Permalink
Merge pull request #13 from neonidian/feature/#12-beautify-readme
Browse files Browse the repository at this point in the history
Feature/#12 beautify readme
  • Loading branch information
neonidian authored Apr 9, 2022
2 parents 7a79a66 + a0935b3 commit 27f8ce1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Send message to Teams

* Send a message to a channel in Teams using webhook
![Mimimal message screenshot](screenshots/minmal-message.png)
<img alt="Mimimal message screenshot" src="screenshots/minmal-message.png" width="1904"/>


* Additional configuration: Enable status label, buttons that re-direct to run and commit URLs
![Message with status and URL re-direct buttons](screenshots/message-with-status-buttons.png)
<img alt="Message with status and URL re-direct buttons" src="screenshots/message-with-status-buttons.png" width="1904"/>

## Usage

Expand Down Expand Up @@ -40,11 +40,12 @@ See the actions tab in your GitHub repository for runs of this action! :rocket:
## Inputs and environment variables
| # | Input ID | Required | Description |
|-----|----------|----------|------------------------------------|
| 1 |webhookUrl | Yes | Incoming webhook URL from MS Teams |
| 2 |message | Yes | Message to be sent |
| 3 |status | No | Status of a step or a job |
| # | Input ID | Required | Description |
|-----|----------|----------|--------------------------------------------------|
| 1 |webhookUrl | Yes | Incoming webhook URL from MS Teams |
| 2 |message | Yes | Message to be sent |
| 3 |status | No | Status of a step or a job or a custom text |
| # | Environment variable | Default value | Description |
|-----|-----------------------------------|---------------|--------------------------------------------------------------------|
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Send message to MS Teams'
name: 'Send message to MS Teams (webhook)'
description: 'Send message to a channel in MS Teams using webhook'

inputs:
Expand Down

0 comments on commit 27f8ce1

Please sign in to comment.