From 3045f68035001ef383967a28988d5ace00925bc4 Mon Sep 17 00:00:00 2001 From: Sam Albers Date: Mon, 14 Aug 2023 16:11:17 -0700 Subject: [PATCH] use publish input --- .github/workflows/performance-release-report.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/performance-release-report.yml b/.github/workflows/performance-release-report.yml index e482bc6ef87..f8ea5e69cb4 100644 --- a/.github/workflows/performance-release-report.yml +++ b/.github/workflows/performance-release-report.yml @@ -22,6 +22,10 @@ on: rc_label: description: 'RC Label' required: false + publish: + type: boolean + description: 'Publish to S3' + required: false permissions: contents: read @@ -79,7 +83,7 @@ jobs: path: 'performance-release-report/performance-release-report.html' - name: Upload result - if: github.event_name == 'push' + if: ${{ github.event.inputs.publish == 'true' }} working-directory: performance-release-report shell: bash env: