File tree 3 files changed +45
-0
lines changed
3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 74
74
repository : private-downstream-ci
75
75
event_type : downstream-ci-hpc
76
76
payload : ' {"metkit": "ecmwf/metkit@${{ github.event.pull_request.head.sha || github.sha }}"}'
77
+
78
+ notify :
79
+ runs-on : ubuntu-latest
80
+ needs :
81
+ - downstream-ci
82
+ - private-downstream-ci
83
+ - downstream-ci-hpc
84
+ - private-downstream-ci-hpc
85
+ if : always() && ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}
86
+ steps :
87
+ - name : Trigger Teams notification
88
+ uses : ecmwf-actions/notify-teams@v1
89
+ with :
90
+ incoming_webhook : ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
91
+ needs_context : ${{ toJSON(needs) }}
Original file line number Diff line number Diff line change
1
+ name : Notify new issue
2
+
3
+ on :
4
+ issues :
5
+ types :
6
+ - " opened"
7
+
8
+ jobs :
9
+ notify :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Notify new issue
13
+ uses : ecmwf-actions/notify-teams-issue@v1
14
+ with :
15
+ incoming_webhook : ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
Original file line number Diff line number Diff line change
1
+ name : Notify new PR
2
+
3
+ on :
4
+ pull_request_target :
5
+ types :
6
+ - " opened"
7
+
8
+ jobs :
9
+ notify :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Notify new PR
13
+ uses : ecmwf-actions/notify-teams-pr@v1
14
+ with :
15
+ incoming_webhook : ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
You can’t perform that action at this time.
0 commit comments