]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-pr-api: Skip if only GHA or qa changed
authorZack Cerza <zack@cerza.org>
Wed, 24 Sep 2025 18:04:22 +0000 (12:04 -0600)
committerZack Cerza <zack@cerza.org>
Wed, 24 Sep 2025 18:09:28 +0000 (12:09 -0600)
Signed-off-by: Zack Cerza <zack@cerza.org>
ceph-pr-api/build/build

index b42d410f9c1bb81ab5dd7bdd6943d849f9e460f2..0f07fbb20efcc7a9a56b6ca08fdf43015a56af4a 100644 (file)
@@ -2,8 +2,10 @@
 
 docs_pr_only
 container_pr_only
-if [[ "$DOCS_ONLY" = true || "$CONTAINER_ONLY" = true ]]; then
-    echo "Only the doc/ or container/ dir changed.  No need to run make check or API tests."
+gha_pr_only
+qa_pr_only
+if [[ "$DOCS_ONLY" = true || "$CONTAINER_ONLY" = true || "$GHA_ONLY" == true || "$QA_ONLY" == true ]]; then
+    echo "Only the doc/, container/, qa/ or .github/ dir changed.  No need to run make check or API tests."
     mkdir -p $WORKSPACE/build/out
     echo "File created to avoid Jenkins' Artifact Archiving plugin from hanging" > $WORKSPACE/build/out/mgr.foo.log
     exit 0