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.
This commit is contained in:
Aditya Sharad 2022-07-27 12:31:35 -07:00
parent bbc2e7010f
commit 0d16d70d87
No known key found for this signature in database
GPG key ID: 66D1E528054C320C

View file

@ -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: