From 2fd7d439a600bc9d1d9da926ee1a28f689902944 Mon Sep 17 00:00:00 2001
From: Lars Kruse <devel@sumpfralle.de>
Date: Sat, 19 Mar 2022 23:47:30 +0100
Subject: [PATCH] ci: avoid hard-coded references to "master" branch

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 73b73af..bc451b5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,7 +31,7 @@ bundle_and_test:
       - public
     expire_in: 2 days
   only:
-    - master
+    - $CI_DEFAULT_BRANCH
 
 # test_api:
 #   stage: test
@@ -55,4 +55,4 @@ pages:
       - public
     expire_in: 2 days
   only:
-    - master
+    - $CI_DEFAULT_BRANCH
-- 
GitLab