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"