File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,56 @@ jobs:
159159 ]
160160 }
161161
162+ - name : Send notification to Teams (SYPHER TEAM)
163+ 164+ with :
165+ webhook_url : ${{ secrets.MS_TEAMS_WEBHOOK_URL_SYPHER }}
166+ raw : >
167+ {
168+ "type": "message",
169+ "attachments": [
170+ {
171+ "contentType": "application/vnd.microsoft.card.adaptive",
172+ "content": {
173+ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
174+ "type": "AdaptiveCard",
175+ "version": "1.4",
176+ "msteams": {
177+ "width": "Full"
178+ },
179+ "body": [
180+ {
181+ "type": "TextBlock",
182+ "text": "New Release: **${{ inputs.product_name }} - ${{ inputs.release_version }}**",
183+ "weight": "Bolder",
184+ "size": "Medium"
185+ },
186+ {
187+ "type": "FactSet",
188+ "facts": [
189+ { "title": "Product:", "value": "${{ inputs.product_name }}" },
190+ { "title": "Version:", "value": "${{ inputs.release_version }}" },
191+ { "title": "CLI Version:", "value": "${{ inputs.cli_release_version }}" },
192+ { "title": "Contributors:", "value": "${{ steps.extract_contributors.outputs.formatted_contributors }}" }
193+ ]
194+ },
195+ {
196+ "type": "TextBlock",
197+ "text": ${{ steps.sanitize_release_notes.outputs.sanitized_release_notes }},
198+ "wrap": true
199+ }
200+ ],
201+ "actions": [
202+ {
203+ "type": "Action.OpenUrl",
204+ "title": "View Release",
205+ "url": "${{ inputs.release_url }}"
206+ }
207+ ]
208+ }
209+ }
210+ ]
211+ }
162212
163213 - name : Get Current Date
164214 id : current-date
You can’t perform that action at this time.
0 commit comments