@@ -108,56 +108,56 @@ jobs:
108108 echo "formatted_jira_tickets=$formatted_jira_tickets" >> $GITHUB_OUTPUT
109109
110110
111- # - name: Send notification to Teams
112- # uses: Skitionek/[email protected] 113- # with:
114- # webhook_url: ${{ secrets.MS_TEAMS_WEBHOOK_URL }}
115- # raw: >
116- # {
117- # "type": "message",
118- # "attachments": [
119- # {
120- # "contentType": "application/vnd.microsoft.card.adaptive",
121- # "content": {
122- # "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
123- # "type": "AdaptiveCard",
124- # "version": "1.4",
125- # "msteams": {
126- # "width": "Full"
127- # },
128- # "body": [
129- # {
130- # "type": "TextBlock",
131- # "text": "New Release: **${{ inputs.product_name }} - ${{ inputs.release_version }}**",
132- # "weight": "Bolder",
133- # "size": "Medium"
134- # },
135- # {
136- # "type": "FactSet",
137- # "facts": [
138- # { "title": "Product:", "value": "${{ inputs.product_name }}" },
139- # { "title": "Version:", "value": "${{ inputs.release_version }}" },
140- # { "title": "CLI Version:", "value": "${{ inputs.cli_release_version }}" },
141- # { "title": "Contributors:", "value": "${{ steps.extract_contributors.outputs.formatted_contributors }}" }
142- # ]
143- # },
144- # {
145- # "type": "TextBlock",
146- # "text": ${{ steps.sanitize_release_notes.outputs.sanitized_release_notes }},
147- # "wrap": true
148- # }
149- # ],
150- # "actions": [
151- # {
152- # "type": "Action.OpenUrl",
153- # "title": "View Release",
154- # "url": "${{ inputs.release_url }}"
155- # }
156- # ]
157- # }
158- # }
159- # ]
160- # }
111+ - name : Send notification to Teams
112+ 113+ with :
114+ webhook_url : ${{ secrets.MS_TEAMS_WEBHOOK_URL }}
115+ raw : >
116+ {
117+ "type": "message",
118+ "attachments": [
119+ {
120+ "contentType": "application/vnd.microsoft.card.adaptive",
121+ "content": {
122+ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
123+ "type": "AdaptiveCard",
124+ "version": "1.4",
125+ "msteams": {
126+ "width": "Full"
127+ },
128+ "body": [
129+ {
130+ "type": "TextBlock",
131+ "text": "New Release: **${{ inputs.product_name }} - ${{ inputs.release_version }}**",
132+ "weight": "Bolder",
133+ "size": "Medium"
134+ },
135+ {
136+ "type": "FactSet",
137+ "facts": [
138+ { "title": "Product:", "value": "${{ inputs.product_name }}" },
139+ { "title": "Version:", "value": "${{ inputs.release_version }}" },
140+ { "title": "CLI Version:", "value": "${{ inputs.cli_release_version }}" },
141+ { "title": "Contributors:", "value": "${{ steps.extract_contributors.outputs.formatted_contributors }}" }
142+ ]
143+ },
144+ {
145+ "type": "TextBlock",
146+ "text": ${{ steps.sanitize_release_notes.outputs.sanitized_release_notes }},
147+ "wrap": true
148+ }
149+ ],
150+ "actions": [
151+ {
152+ "type": "Action.OpenUrl",
153+ "title": "View Release",
154+ "url": "${{ inputs.release_url }}"
155+ }
156+ ]
157+ }
158+ }
159+ ]
160+ }
161161
162162 - name : Send notification to Teams (SYPHER TEAM)
163163
0 commit comments