From 9340e769a44f7e943742e28b16a6dc5fb1bd368a Mon Sep 17 00:00:00 2001 From: Thomas Hardy Date: Tue, 28 Oct 2025 12:46:19 -0700 Subject: [PATCH 1/2] add permissions block --- .github/workflows/nightly-throughput-stress.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/nightly-throughput-stress.yml b/.github/workflows/nightly-throughput-stress.yml index ec64a298d..7d4cfb7df 100644 --- a/.github/workflows/nightly-throughput-stress.yml +++ b/.github/workflows/nightly-throughput-stress.yml @@ -25,6 +25,9 @@ on: default: 360 type: number +permissions: + contents: read + env: # Workflow configuration TEST_DURATION: ${{ inputs.duration || vars.NIGHTLY_TEST_DURATION || '5h' }} From 488afe1ae0e638ca22c8dd809f5d86d931c1b0ac Mon Sep 17 00:00:00 2001 From: Thomas Hardy Date: Wed, 29 Oct 2025 10:04:52 -0700 Subject: [PATCH 2/2] add repo name to slack alert --- .github/workflows/nightly-throughput-stress.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly-throughput-stress.yml b/.github/workflows/nightly-throughput-stress.yml index 7d4cfb7df..4b777fc55 100644 --- a/.github/workflows/nightly-throughput-stress.yml +++ b/.github/workflows/nightly-throughput-stress.yml @@ -167,7 +167,7 @@ jobs: "type": "section", "text": { "type": "mrkdwn", - "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 }}" + "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 }}" } } ]