Skip to content

Commit 81f9069

Browse files
committed
Remove redundant repo from notification message
1 parent c455d4a commit 81f9069

8 files changed

+24
-24
lines changed

.github/workflows/release-images.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
- name: Slack Notification (Always)
172172
if: always()
173173
run: |
174-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
174+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
175175
REPO="${{ github.repository }}"
176176
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
177177
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -180,7 +180,7 @@ jobs:
180180
- name: Slack Notification (Error)
181181
if: failure()
182182
run: |
183-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
183+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
184184
REPO="${{ github.repository }}"
185185
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
186186
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"

.github/workflows/release-maven-artifacts.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
- name: Slack Notification (Always)
8484
if: always()
8585
run: |
86-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
86+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
8787
REPO="${{ github.repository }}"
8888
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
8989
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -92,7 +92,7 @@ jobs:
9292
- name: Slack Notification (Error)
9393
if: failure()
9494
run: |
95-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
95+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
9696
REPO="${{ github.repository }}"
9797
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
9898
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"

.github/workflows/release-sboms.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
- name: Slack Notification (Always)
9393
if: always()
9494
run: |
95-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
95+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
9696
REPO="${{ github.repository }}"
9797
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
9898
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -101,7 +101,7 @@ jobs:
101101
- name: Slack Notification (Error)
102102
if: failure()
103103
run: |
104-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
104+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
105105
REPO="${{ github.repository }}"
106106
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
107107
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"

.github/workflows/release-sdk-go.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Slack Notification (Always)
6868
if: always()
6969
run: |
70-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
70+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
7171
REPO="${{ github.repository }}"
7272
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
7373
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -76,7 +76,7 @@ jobs:
7676
- name: Slack Notification (Error)
7777
if: failure()
7878
run: |
79-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
79+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
8080
REPO="${{ github.repository }}"
8181
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
8282
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"

.github/workflows/release-sdk-python.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- name: Slack Notification (Always)
6767
if: always()
6868
run: |
69-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
69+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
7070
REPO="${{ github.repository }}"
7171
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
7272
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -75,7 +75,7 @@ jobs:
7575
- name: Slack Notification (Error)
7676
if: failure()
7777
run: |
78-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
78+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
7979
REPO="${{ github.repository }}"
8080
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
8181
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"

.github/workflows/release-sdk-typescript.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- name: Slack Notification (Always)
7676
if: always()
7777
run: |
78-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
78+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
7979
REPO="${{ github.repository }}"
8080
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
8181
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -84,7 +84,7 @@ jobs:
8484
- name: Slack Notification (Error)
8585
if: failure()
8686
run: |
87-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
87+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
8888
REPO="${{ github.repository }}"
8989
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
9090
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"

.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
- name: Slack Notification (Always)
171171
if: always()
172172
run: |
173-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
173+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
174174
REPO="${{ github.repository }}"
175175
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
176176
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -179,7 +179,7 @@ jobs:
179179
- name: Slack Notification (Error)
180180
if: failure()
181181
run: |
182-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
182+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
183183
REPO="${{ github.repository }}"
184184
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
185185
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"

.github/workflows/verify.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
- name: Slack Notification (Always)
9393
if: github.event_name == 'push' && always()
9494
run: |
95-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
95+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
9696
REPO="${{ github.repository }}"
9797
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
9898
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -101,7 +101,7 @@ jobs:
101101
- name: Slack Notification (Error)
102102
if: github.event_name == 'push' && failure()
103103
run: |
104-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
104+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
105105
REPO="${{ github.repository }}"
106106
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
107107
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -183,7 +183,7 @@ jobs:
183183
- name: Slack Notification (Always)
184184
if: github.event_name == 'push' && always()
185185
run: |
186-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
186+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
187187
REPO="${{ github.repository }}"
188188
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
189189
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -192,7 +192,7 @@ jobs:
192192
- name: Slack Notification (Error)
193193
if: github.event_name == 'push' && failure()
194194
run: |
195-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
195+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
196196
REPO="${{ github.repository }}"
197197
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
198198
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -289,7 +289,7 @@ jobs:
289289
- name: Slack Notification (Always)
290290
if: github.event_name == 'push' && always()
291291
run: |
292-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
292+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
293293
REPO="${{ github.repository }}"
294294
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
295295
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -298,7 +298,7 @@ jobs:
298298
- name: Slack Notification (Error)
299299
if: github.event_name == 'push' && failure()
300300
run: |
301-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
301+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
302302
REPO="${{ github.repository }}"
303303
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
304304
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -344,7 +344,7 @@ jobs:
344344
- name: Slack Notification (Always)
345345
if: github.event_name == 'push' && always()
346346
run: |
347-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
347+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
348348
REPO="${{ github.repository }}"
349349
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
350350
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -353,7 +353,7 @@ jobs:
353353
- name: Slack Notification (Error)
354354
if: github.event_name == 'push' && failure()
355355
run: |
356-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
356+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
357357
REPO="${{ github.repository }}"
358358
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
359359
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -389,7 +389,7 @@ jobs:
389389
- name: Slack Notification (Always)
390390
if: github.event_name == 'push' && always()
391391
run: |
392-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
392+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
393393
REPO="${{ github.repository }}"
394394
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
395395
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
@@ -398,7 +398,7 @@ jobs:
398398
- name: Slack Notification (Error)
399399
if: github.event_name == 'push' && failure()
400400
run: |
401-
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
401+
MESSAGE="'${{ github.workflow }}/${{ github.job }}' job FAILED!"
402402
REPO="${{ github.repository }}"
403403
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
404404
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"

0 commit comments

Comments
 (0)