about summary refs log tree commit diff
path: root/src/ci/scripts
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-06-02 15:08:39 +0200
committerJakub Beránek <berykubik@gmail.com>2025-06-02 15:08:39 +0200
commitec9e560a3010a8424b241d1671bdd81d87011204 (patch)
tree6c746f22144139cabbe4fd2a2edf1038a50a238f /src/ci/scripts
parent52882f6522ae9f34f1d574b2efabc4b18e691ae0 (diff)
Fix `create-docs-artifacts.sh` with new bors
Diffstat (limited to 'src/ci/scripts')
-rwxr-xr-xsrc/ci/scripts/create-doc-artifacts.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ci/scripts/create-doc-artifacts.sh b/src/ci/scripts/create-doc-artifacts.sh
index 2516b0d8505..487a9ba428f 100755
--- a/src/ci/scripts/create-doc-artifacts.sh
+++ b/src/ci/scripts/create-doc-artifacts.sh
@@ -15,7 +15,8 @@ fi
 branch=$(git branch --show-current || echo)
 
 if [ -n "$branch" ]; then
-    branch="${branch}-"
+    # Strip automation/bors/ prefix if present
+    branch="${branch#automation/bors/}-"
 fi
 
 if [ "${GITHUB_EVENT_NAME:=none}" = "pull_request" ]; then