From 355e141f972019f5b17d6382f0397c994b5c822c Mon Sep 17 00:00:00 2001
From: Axel Naumann <Axel.Naumann@cern.ch>
Date: Thu, 30 Mar 2023 15:33:03 +0200
Subject: [PATCH] [ci] Add explanation for when to upload build artifacts.

---
 .github/workflows/root-ci-config/build_root.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/root-ci-config/build_root.py b/.github/workflows/root-ci-config/build_root.py
index 4a439f5c65f..e3750ca6cb0 100755
--- a/.github/workflows/root-ci-config/build_root.py
+++ b/.github/workflows/root-ci-config/build_root.py
@@ -134,6 +134,8 @@ def main():
 
         shell_log = run_ctest(shell_log, extra_ctest_flags)
 
+    # Build artifacts should only be uploaded for full builds, and only for "official" branches
+    # (master, v?-??-??-patches), i.e. not for pull_request
     if not pull_request and not args.incremenetal:
         archive_and_upload(yyyy_mm_dd, obj_prefix)
 
-- 
GitLab