From 6457c9db0bd4e1842f9a8e9604969c25e5e71aa6 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Fri, 24 Apr 2026 21:39:42 +0200 Subject: [PATCH] fix(ci): correct subsitute stuff --- .gitea/workflows/benchmark.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/benchmark.yaml b/.gitea/workflows/benchmark.yaml index 9053469..440fbc9 100644 --- a/.gitea/workflows/benchmark.yaml +++ b/.gitea/workflows/benchmark.yaml @@ -71,7 +71,7 @@ jobs: # 3. Create a directory structure based on the branch # This allows the UI to "switch between branches" - SAFE_PR_NAME="${GITHUB_HEAD_REF//\//-}" + SAFE_PR_NAME=$(printf "%s" "$GITHUB_HEAD_REF" | tr '/' '-') DEST_DIR="target_bench_repo/data/$SAFE_PR_NAME/$(date +%s)" mkdir -p "$DEST_DIR"