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