Skip to content

Commit 40b7cff

Browse files
authored
Add slack footers to link directly to workflow logs (#18297)
* Add slack footers to link directly to workflow logs * Update footer
1 parent 5b0541a commit 40b7cff

7 files changed

+9
-1
lines changed

.github/workflows/code-nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
env:
5151
SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }}
5252
SLACK_COLOR: ${{ job.status }}
53+
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
5354

5455
delete-runner:
5556
if: always()

.github/workflows/ide-integration-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }}
6767
SLACK_COLOR: ${{ job.status }}
6868
SLACK_MESSAGE: main branch build failed
69+
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
6970

7071
infrastructure:
7172
name: Create preview environment infrastructure
@@ -178,6 +179,7 @@ jobs:
178179
SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }}
179180
SLACK_COLOR: ${{ job.status }}
180181
SLACK_MESSAGE: ${{ steps.test_summary.outputs.passed }}/${{ steps.test_summary.outputs.total }} tests passed
182+
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
181183

182184
delete:
183185
name: Delete preview environment

.github/workflows/jetbrains-auto-update-template.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,4 @@ jobs:
7171
SLACK_WEBHOOK: ${{ secrets.slackWebhook }}
7272
SLACK_COLOR: ${{ job.status }}
7373
SLACK_TITLE: ${{ inputs.productId }}
74+
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"

.github/workflows/jetbrains-update-plugin-platform-template.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,4 @@ jobs:
168168
SLACK_WEBHOOK: ${{ secrets.slackWebhook }}
169169
SLACK_COLOR: ${{ job.status }}
170170
SLACK_TITLE: ${{ inputs.productName }}
171+
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"

.github/workflows/jetbrains-updates.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,4 @@ jobs:
8585
SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }}
8686
SLACK_COLOR: ${{ job.status }}
8787
SLACK_TITLE: ${{ inputs.productName }}
88+
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"

.github/workflows/preview-env-check-regressions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ jobs:
162162
SLACK_WEBHOOK: '${{ steps.secrets.outputs.devx-slack-webhook }}'
163163
SLACK_COLOR: ${{ job.status }}
164164
SLACK_MESSAGE: "`${{ needs.configuration.outputs.version}}` smoke test failed"
165+
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
165166

166167
delete:
167168
name: Delete preview environment

.github/workflows/workspace-integration-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686
SLACK_WEBHOOK: ${{ steps.secrets.outputs.WORKSPACE_SLACK_WEBHOOK }}
8787
SLACK_COLOR: ${{ job.status }}
8888
SLACK_MESSAGE: "Workspace Integration Tests failed"
89+
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
8990

9091
infrastructure:
9192
needs: [configuration, create-runner]
@@ -221,7 +222,7 @@ jobs:
221222
SLACK_WEBHOOK: ${{ steps.secrets.outputs.WORKSPACE_SLACK_WEBHOOK }}
222223
SLACK_COLOR: ${{ job.status }}
223224
SLACK_MESSAGE: "${{ steps.test_summary.outputs.passed }} tests passed, ${{ steps.test_summary.outputs.failed }} tests failed, ${{ steps.test_summary.outputs.skipped }} tests skipped (took ${{ steps.integration-test.outputs.duration }})"
224-
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|See workflow logs here>"
225+
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
225226

226227
delete:
227228
name: Delete preview environment

0 commit comments

Comments
 (0)