From e16dd2a6b68b0d77ca27c085cdaf3230ec135755 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 20 Mar 2024 14:30:31 +0200 Subject: ambient.yaml: do not run CI for radicle is wrong branch is checked out Signed-off-by: Lars Wirzenius Sponsored-by: author --- ambient.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ambient.yaml b/ambient.yaml index f9d3e9f..7b7dd64 100644 --- a/ambient.yaml +++ b/ambient.yaml @@ -588,6 +588,11 @@ projects: export DEBFULLNAME="Lars Wirzenius" export CARGO_TARGET_DIR=/workspace/cache + if [ "$(git branch --show-current)" ] != debian; then + echo MUST be run with debian as the current branch + exit 1 + fi + export HOME=/root git config --global user.email "liw@liw.fi" git config --global user.name "Lars Wirzenius" -- cgit v1.2.1