Compare commits

..

2 Commits

Author SHA1 Message Date
5afda70f4c Update automation rules. 2026-04-20 15:25:00 +01:00
b1e04117a0 Add more guardrails. 2026-04-20 15:24:26 +01:00
2 changed files with 5 additions and 1 deletions

View File

@@ -1 +1 @@
apply
apply modified:/git-portfolio

View File

@@ -1,5 +1,9 @@
#!/usr/bin/bash
repos="/tmp/repos-$(cat /dev/urandom | base64 | tr -d '=+/' | head -c 8)"
if [ -d "$repos" ]; then
echo "Error: Temporary directory '$repos' already exists."
exit 1
fi
mkdir -p "$repos"
tmp_portfolio="/tmp/portfolio-$(cat /dev/urandom | base64 | tr -d '=+/' | head -c 8)"
function safely_remove_tmp_repos() {