From 01ac2ec48d984f90feaf65fd127131eaf6c15447 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Wed, 5 Aug 2020 23:20:29 +0200 Subject: [PATCH] ci: run release commit message check only on one Gitlab --- ci/prebuild.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ci/prebuild.yml b/ci/prebuild.yml index 67512b8808..7fd8a62a99 100644 --- a/ci/prebuild.yml +++ b/ci/prebuild.yml @@ -39,9 +39,13 @@ release commit messages prebuild: stage: prebuild before_script: [] # nothing needed variables: - # We need to clone the repo properly so we can work with origin/master + # We need to clone the repo properly so we can work with origin/master. GIT_STRATEGY: clone only: - - /^release\// + refs: + - /^release\// + variables: + # We want this to run on gitlab.com/satoshilabs/trezor/trezor-firmware only. + - $CI_PROJECT_PATH_SLUG == 'satoshilabs-trezor-trezor-firmware' script: - nix-shell --run "ci/check_release_commit_messages.sh"