[Github] Only run libclang-python-tests on monorepo main
authorAiden Grossman <agrossman154@yahoo.com>
Wed, 24 Jan 2024 00:50:10 +0000 (16:50 -0800)
committerAiden Grossman <agrossman154@yahoo.com>
Wed, 24 Jan 2024 00:53:54 +0000 (16:53 -0800)
commitc41472dbafd0dcacd943a95a9a099c1942d50394
treea4a2358ce803a34021272ba83fc89a6b004f41c0
parentb1778c7d7b9ec07c075118546b85a7cc9741e1f1
[Github] Only run libclang-python-tests on monorepo main

The libclang python binding test CI job currently doesn't have any
restrictions on what branches it will run on when something is pushed
and also isn't restricted to the monorepo. This patch adds a branch
restriction for the push event, only running the CI job when something
is pushed to the main branch (and the path filter is met), and also adds
a filter to ensure that the job comes from a PR against the monorepo or
a push to a branch in the monorepo.
.github/workflows/libclang-python-tests.yml