From fa64ad19c953724ff7a7c0db8536ab0a994cad88 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Wed, 12 Jun 2024 11:45:13 -0700 Subject: [PATCH] conditionally run test exports --- .github/workflows/test-exports.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test-exports.yml b/.github/workflows/test-exports.yml index 22c46d2acb8e..44bf3864216e 100644 --- a/.github/workflows/test-exports.yml +++ b/.github/workflows/test-exports.yml @@ -1,6 +1,15 @@ name: Environment tests on: + pull_request: + # Only run workflow if files in these directories are changed + paths: + - 'langchain/**' + - 'langchain-core/**' + - 'libs/langchain-anthropic/**' + - 'libs/langchain-community/**' + - 'libs/langchain-openai/**' + - 'examples/**' workflow_dispatch: # Allows triggering the workflow manually in GitHub UI workflow_call: # Allows triggering the workflow from another workflow