From db41d2411ffb90b46ba668f33290d32f905515d6 Mon Sep 17 00:00:00 2001 From: Caesar Schinas Date: Fri, 18 Aug 2023 23:22:40 +0100 Subject: [PATCH] CI: use slashes in backport branch names and labels --- .forgejo/workflows/backport.yml | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/backport.yml b/.forgejo/workflows/backport.yml index 476a9199..a9384b44 100644 --- a/.forgejo/workflows/backport.yml +++ b/.forgejo/workflows/backport.yml @@ -28,3 +28,5 @@ jobs: uses: https://github.com/tibdex/backport@v2 with: github_token: ${{ secrets.WEBSITETOKEN }} + head_template: 'backport/<%= base %>/pr-<%= number %>' + label_pattern: '^backport/(?([^ ]+))$' diff --git a/README.md b/README.md index 7a147ac6..4c6e2017 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ website will not be available. ### Backports If a commit is meant to be backported to a stable branch, it must be -labelled with `backport v1.20`, `backport v1.19` etc. +labelled with `backport/v1.20`, `backport/v1.19`, etc. ### Links