diff --git a/.github/actions/prepare-metal-run/action.yml b/.github/actions/prepare-metal-run/action.yml index 0c1d95f3a73..874c0223d37 100644 --- a/.github/actions/prepare-metal-run/action.yml +++ b/.github/actions/prepare-metal-run/action.yml @@ -13,6 +13,10 @@ inputs: description: 'Which version of Python to use to run the tests.' required: false default: '3.8' + run-telemetry: + description: 'Whether to run telemetry' + required: false + default: 'false' runs: using: "composite" @@ -32,5 +36,5 @@ runs: with: python-version: ${{ inputs.python-version }} - name: Collect Workflow Telemetry - if: ${{ !cancelled() }} + if: ${{ !cancelled() && inputs.run-telemetry == 'true' }} uses: catchpoint/workflow-telemetry-action@v2