Skip to content

Commit c093944

Browse files
authored
chore(ci): fix svace alert (#1397)
Signed-off-by: Maksim Fedotov <[email protected]>
1 parent f3bc31c commit c093944

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/dev_build_svace.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,16 +179,25 @@ jobs:
179179
svacer_import_password: "${{ secrets.SVACER_IMPORT_PASSWORD }}"
180180
svace_analyze_ssh_private_key: "${{ secrets.SVACE_ANALYZE_SSH_PRIVATE_KEY }}"
181181

182+
notify:
183+
name: Notify Loop
184+
runs-on: ubuntu-latest
185+
needs:
186+
- set_vars
187+
- dev_setup_build
188+
- analyze_build
189+
if: always()
190+
steps:
182191
- name: Send results to Loop
183-
if: always()
184192
run: |
185-
if [ "${{ steps.analyze.outcome }}" == "success" ]; then
193+
DATE=$(date '+%Y-%m-%d')
194+
if [ "${{ needs.analyze_build.result }}" == "success" ]; then
186195
STATUS=":white_check_mark: SUCCESS!"
187196
else
188197
STATUS=":x: FAIL!"
189198
fi
190-
SUMMARY="
191-
### :gear: **DVP $DATE Weekly analyze**
199+
MESSAGE="
200+
### :gear: **DVP $DATE Weekly Svace Analyze Report**
192201
193202
**Branch:** \`$GITHUB_REF_NAME\`
194203
**Status: ${STATUS}**

0 commit comments

Comments
 (0)