Skip to content

Commit 742ca82

Browse files
committed
Try
1 parent ba263bf commit 742ca82

File tree

2 files changed

+2
-28
lines changed

2 files changed

+2
-28
lines changed

.github/workflows/build-and-test.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -140,29 +140,3 @@ jobs:
140140
src/src/test/*/results
141141
src/src/test/*/tmp_check
142142
retention-days: 3
143-
144-
slack-notification:
145-
if: ${{ failure() }}
146-
needs: [ test, test-default-tde ]
147-
name: Slack Notification
148-
runs-on: ubuntu-24.04
149-
steps:
150-
- name: Greet the reader
151-
uses: slackapi/[email protected]
152-
with:
153-
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
154-
webhook-type: incoming-webhook
155-
payload: |
156-
text: "${{ github.workflow }} failed!"
157-
blocks:
158-
- type: "section"
159-
text:
160-
type: "mrkdwn"
161-
text: "Workflow ${{ github.workflow }} failed on branch ${{ github.head_ref }}!\n
162-
Commit: <${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>\n
163-
OS: ${{ inputs.os }}\n
164-
Compiler: ${{ inputs.compiler }}\n
165-
Build System: ${{ inputs.build_script }}\n
166-
Build Type: ${{ inputs.build_type }}\n
167-
\n
168-
<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View logs>"

.github/workflows/matirx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
slack-notification:
4444
if: ${{ failure() }}
45-
needs: [ main ]
45+
needs: [ main, arm ]
4646
name: Slack Notification
4747
runs-on: ubuntu-24.04
4848
steps:
@@ -57,7 +57,7 @@ jobs:
5757
- type: "section"
5858
text:
5959
type: "mrkdwn"
60-
text: "Workflow ${{ github.workflow }} failed on branch ${{ github.head_ref }}!\n
60+
text: "Workflow *${{ github.workflow }}* failed on branch ${{ github.head_ref }}\n
6161
Commit: <${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>\n
6262
\n
6363
<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View logs>"

0 commit comments

Comments
 (0)