[build] Only run Python workflow when python or atoms change
@@ -4,9 +4,27 @@ on:
push:
branches:
- trunk
+ paths:
+ - .bazel*
+ - .github/actions/**
+ - .github/workflows/python.yml
+ - common/**
+ - javascript/atoms/**
+ - javascript/cdp-support/**
+ - javascript/webdriver/**
+ - py/**
pull_request:
branches:
- trunk
+ paths:
+ - .bazel*
+ - .github/actions/**
+ - .github/workflows/python.yml
+ - common/**
+ - javascript/atoms/**
+ - javascript/cdp-support/**
+ - javascript/webdriver/**
+ - py/**
jobs:
tox_flake8:
