Skip to contentSkip to conversation

ci: Do not run CI for tags

PATCH New Jan Kiszka 1 participant 1 message Sep 15, 2023

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 ci: Do not run CI for tags

From: Jan Kiszka <[email protected]>

Those are already covered by the run of the containing branch.

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
.gitlab-ci.yml +2 -0
index 8c1cfa2dc9..e2281c9e17 100644
@@ -35,6 +35,8 @@ variables:
   stage: build
   rules:
     - if: $CI_COMMIT_BRANCH != "master"
+    - if: $CI_COMMIT_TAG
+      when: never
   before_script:
     - apt update
     - ARCH_PACKAGES="PACKAGES_${ARCH}"
Signature · 1 line
2.35.3