From 32b09a5aca22f726a71f7806eed1a2c37cc15944 Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Wed, 19 Apr 2023 17:11:34 +0200
Subject: [PATCH] preliminary_checks must be standard job from a standard
 stage, not a builtin one, so that the trick with notest- branches for merge
 request works

---
 .gitlab-ci.yml          | 1 +
 .gitlab/preliminary.yml | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d8b822d39..38622491e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
 ---
 stages:
+  - pre
   - build
   - test
   - analyse
diff --git a/.gitlab/preliminary.yml b/.gitlab/preliminary.yml
index d6e9088f8..8c1a66437 100644
--- a/.gitlab/preliminary.yml
+++ b/.gitlab/preliminary.yml
@@ -3,7 +3,7 @@
 #
 ---
 preliminary_checks:
-  stage: .pre
+  stage: pre
   interruptible: true
   rules:
     - if: ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /^ci-.*$/) && $CI_PIPELINE_SOURCE != "schedule"
-- 
GitLab