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
1. Add `MS_TEAMS_WEBHOOK_URI` on your repository's configs on Settings > Secrets. It is the [webhook URI](https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook) of the dedicated Microsoft Teams channel for notification.
6
+
7
+
2) Add a new `step` on your workflow code as last step of workflow job:
8
+
9
+
```yaml
10
+
name: MS Teams Github Actions integration
11
+
12
+
on: [push]
13
+
14
+
jobs:
15
+
build:
16
+
runs-on: ubuntu-latest
17
+
18
+
steps:
19
+
- uses: actions/checkout@v2
20
+
- uses: opsless/ms-teams-github-actions@main
21
+
if: always() # to let this step always run even if previous step failed
22
+
with:
23
+
github-token: ${{ github.token }}
24
+
webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
25
+
```
26
+
27
+
### Known Issues
28
+
29
+
- Always set this step with `if: always()` when there are steps between `actions/checkout@v2` and this step.
30
+
31
+
### Roadmap
32
+
33
+
- add error message if workflow failed
34
+
- add files changed list
35
+
- add workflow run duration
36
+
37
+
Feel free to create issue if you have an idea in mind
0 commit comments