From 9f80dbd3db1d2c9b46bb43842cc5b956f92aec33 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Fri, 11 Nov 2022 21:16:00 +0300 Subject: [PATCH] Do not run `stubtest_third_party` on requirements change (#9160) Co-authored-by: Alex Waygood --- .github/workflows/stubtest_third_party.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stubtest_third_party.yml b/.github/workflows/stubtest_third_party.yml index d652ef0c2f64..08ae44ab26ac 100644 --- a/.github/workflows/stubtest_third_party.yml +++ b/.github/workflows/stubtest_third_party.yml @@ -2,9 +2,11 @@ name: Third-party stubtest on: pull_request: - paths-ignore: - - '**/*.md' - - 'scripts/**' + paths: + - 'stubs/**' + - '.github/workflows/stubtest_third_party.yml' + - 'tests/**' + # When requirements.txt changes, we run `daily.yml`, which includes third-party stubtest permissions: contents: read