summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-03-20 14:30:31 +0200
committerLars Wirzenius <liw@liw.fi>2024-03-20 14:30:31 +0200
commite16dd2a6b68b0d77ca27c085cdaf3230ec135755 (patch)
treee1d947cfdf5c03697e6e7807d813d3bb8324b6ce
parent01f278f44a4084484040ae51745c9d62ac24c142 (diff)
downloadliw-dot-files-e16dd2a6b68b0d77ca27c085cdaf3230ec135755.tar.gz
ambient.yaml: do not run CI for radicle is wrong branch is checked out
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--ambient.yaml5
1 files changed, 5 insertions, 0 deletions
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"