[runtimes] Trigger CI jobs when only the runtimes/ subdirectory is touched
authorLouis Dionne <ldionne.2@gmail.com>
Fri, 4 Mar 2022 15:59:03 +0000 (10:59 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Fri, 4 Mar 2022 15:59:27 +0000 (10:59 -0500)
libcxx/utils/ci/buildkite-pipeline-premerge.sh

index 9454bba..7af20a6 100755 (executable)
@@ -17,8 +17,8 @@
 
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 
-if ! git diff --name-only HEAD~1 | grep -q -E "libcxx/|libcxxabi/|libunwind/"; then
-  # libcxx/, libcxxabi/ or libunwind/ are not affected
+if ! git diff --name-only HEAD~1 | grep -q -E "libcxx/|libcxxabi/|libunwind/|runtimes/"; then
+  # libcxx/, libcxxabi/, libunwind/ or runtimes/ are not affected
   exit 0
 fi