Skip to contentSkip to conversation

CI: only run pending-updates on master

PATCH Applied Ross Burton 2 participants 2 messages Nov 3, 2025 – Nov 6, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CI: only run pending-updates on master

This job takes a few minutes and isn't useful unless it's being ran for master, or is being actively worked on.

---
 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)
.gitlab-ci.yml +5 -0
index c06b05e474..d7c214b673 100644
@@ -253,6 +253,11 @@ musca-s1:
 
 pending-updates:
   extends: .setup
+  # Only run this job for the default branch (master), or if forced with
+  # BUILD_FORCE_PENDING_UPDATES.
+  rules:
+    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+    - if: $BUILD_FORCE_PENDING_UPDATES != null
   artifacts:
     paths:
       - update-report
Signature · 1 line
2.43.0
Applied
#1 lore raw
Quoted 4 lines · Ross Burton

This job takes a few minutes and isn't useful unless it's being ran for master, or is being actively worked on.

Applied, thanks!

[1/1] CI: only run pending-updates on master

      commit: 82d64955f14ff11319ceac27c7b46ee7ffadd1ee

Best regards,

Signature · 1 line
Jon Mason <[email protected]>