ci: run release commit message check only on one Gitlab

pull/1173/head
Tomas Susanka 4 years ago
parent fd2ddbfb03
commit 01ac2ec48d

@ -39,9 +39,13 @@ release commit messages prebuild:
stage: prebuild stage: prebuild
before_script: [] # nothing needed before_script: [] # nothing needed
variables: 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 GIT_STRATEGY: clone
only: 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: script:
- nix-shell --run "ci/check_release_commit_messages.sh" - nix-shell --run "ci/check_release_commit_messages.sh"

Loading…
Cancel
Save