CI: use slashes in backport branch names and labels

(cherry picked from commit db41d2411f)
This commit is contained in:
Caesar Schinas 2023-08-18 23:22:40 +01:00 committed by github-actions[bot]
parent 13252e0458
commit 0d57e598f0
2 changed files with 3 additions and 1 deletions

View file

@ -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/(?<base>([^ ]+))$'

View file

@ -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