From e63d357d365966706dabb70f2e4166334c819396 Mon Sep 17 00:00:00 2001 From: Matthias Langhard Date: Mon, 24 May 2021 20:48:52 +0200 Subject: [PATCH] deploy: makes tests only run for tags to prevent api rate-limit --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ba3e126..40e0dfe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,8 @@ stages: - publish running tests for tag: + only: + - /^\d*.\d*.\d*$/ # gets triggered if the commit tag is in the form n.n.n where n is any number tags: - shared image: mcr.microsoft.com/dotnet/core/sdk:3.1