Skip to content

Truly independent web browser

CI: Accept /backport branch names without the release/ prefix

Jelle Raaijmakersa85c3871ba74
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
index 922e1492320..eeccc564721 100644
--- a/.github/workflows/backport.yml
+++ b/.github/workflows/backport.yml
@@ -61,6 +61,7 @@ jobs:
read -r -a requested <<< "${arguments:-}"
branches=()
for branch in "${requested[@]}"; do
+ branch="release/${branch#release/}"
if ! [[ "$branch" =~ ^release/[0-9]{4}\.([1-9]|1[0-2])$ ]]; then
echo "::error::${branch} isn't a release branch, such as release/2026.11."
exit 1