0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-24 18:09:26 -05:00

CI: use slashes in backport branch names and labels

This commit is contained in:
Caesar Schinas 2023-08-18 23:22:40 +01:00
parent db05f79562
commit db41d2411f
No known key found for this signature in database
GPG key ID: AE9108461BEA5ACF
2 changed files with 3 additions and 1 deletions

View file

@ -28,3 +28,5 @@ jobs:
uses: https://github.com/tibdex/backport@v2 uses: https://github.com/tibdex/backport@v2
with: with:
github_token: ${{ secrets.WEBSITETOKEN }} 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 ### Backports
If a commit is meant to be backported to a stable branch, it must be 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 ### Links