From 98a7225001318e176dd095ad682bbbb9528fbf82 Mon Sep 17 00:00:00 2001 From: Aditya Sharad Date: Wed, 27 Jul 2022 12:31:35 -0700 Subject: [PATCH] CI: Add path filters to python-deps workflow No need to run this workflow on all PRs, only those that change the Python dependency installation mechanism. --- .github/workflows/python-deps.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/python-deps.yml b/.github/workflows/python-deps.yml index 28efa81053..ae4f8bc427 100644 --- a/.github/workflows/python-deps.yml +++ b/.github/workflows/python-deps.yml @@ -7,6 +7,13 @@ on: # Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened # by other workflows. types: [opened, synchronize, reopened, ready_for_review] + paths: + # Changes to this workflow. + - '.github/workflows/python-deps.yml' + # Changes to the Python package installation scripts and their tests. + - 'python-setup/**' + # Changes to the default CodeQL bundle version. + - '**/defaults.json' jobs: test-setup-python-scripts: