Skip to content

Commit 1b70f07

Browse files
authored
Tps nightly small improvements (#1200)
* add permissions block * add repo name to slack alert
1 parent 0eb96eb commit 1b70f07

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/nightly-throughput-stress.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ on:
2525
default: 360
2626
type: number
2727

28+
permissions:
29+
contents: read
30+
2831
env:
2932
# Workflow configuration
3033
TEST_DURATION: ${{ inputs.duration || vars.NIGHTLY_TEST_DURATION || '5h' }}
@@ -164,7 +167,7 @@ jobs:
164167
"type": "section",
165168
"text": {
166169
"type": "mrkdwn",
167-
"text": "*Nightly Throughput Stress Failed* :x:\n\n*Duration:* ${{ env.TEST_DURATION }}\n*Run:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Logs>\n*Triggered by:* ${{ github.event_name == 'schedule' && 'Scheduled' || github.actor }}"
170+
"text": "*Nightly Throughput Stress Failed* :x:\n\n*Repository:* ${{ github.repository }}\n*Duration:* ${{ env.TEST_DURATION }}\n*Run:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Logs>\n*Triggered by:* ${{ github.event_name == 'schedule' && 'Scheduled' || github.actor }}"
168171
}
169172
}
170173
]

0 commit comments

Comments
 (0)