diff --git a/action.yml b/action.yml index 214c3f1..79de77e 100644 --- a/action.yml +++ b/action.yml @@ -11,6 +11,10 @@ inputs: description: "SDK language to test. One of: js, py, or leave empty for both" required: false default: "" + sentry-python-path: + description: "Path to local sentry-python repository" + required: false + default: "../../../sentry-python/sentry-python" openai-api-key: description: "OpenAI API key" required: true @@ -50,7 +54,7 @@ runs: working-directory: ${{ github.action_path }} run: | if [ "${{ inputs.language }}" = "py" ]; then - npm run cli setup -- --local-sentry-python ../../sentry-python + npm run cli setup -- --local-sentry-python ${{ inputs.sentry-python-path }} elif [ -z "${{ inputs.language }}" ]; then npm run cli setup else