Comments (4)
Thanks for your work on that, @sqren. I've created a PR in our project to do as you suggest, and I have tried it on a local fork and it works like a charm. Many thanks for your support.
from backport.
Hey there,
Sorry for the late reply. You should be able to achieve this in the latest version (v9.2.2) using this approach:
prTitle: "[{{targetBranch}}] {{commits.0.sourcePullRequest.title}}"
That will set the pull request title to something like [v3.1] Do not pass arrays to can?
.
from backport.
Please let me know if this solves the problem, and if you can think of other cases not solved by this. Please also check the docs that describe which template variables are available: https://github.com/sqren/backport/blob/main/docs/config-file-options.md#prtitle
from backport.
Great to hear! Thanks for the feedback.
from backport.
Related Issues (20)
- Explain configuration option: config-file HOT 4
- Backport always performs a clone HOT 6
- branchLabelMapping 1:n mapping HOT 3
- Backport GH action & merge conflicts HOT 1
- Can this be tool used with GitLab? HOT 1
- Unexpected token . HOT 5
- v8.9.7 - Cannot read properties of undefined HOT 1
- Add support for dynamic `sourcePRLabels`
- Option to copy labels from target to source HOT 5
- Workflow permission is required for pushing changes
- List of releases is out of date HOT 1
- `No target branches found for this PR` error HOT 7
- Query `CommitsByAuthor` gets 502 error in Github response when using large `maxNumber` HOT 5
- Upgrade Axios to dismiss security alerts
- Whatever I do i get a "branch is invalid or doesn't exist" HOT 8
- Support Azure DevOps HOT 7
- [Feature Request]: support draft PRs
- `sourcePullRequest.title` contains escaped characters HOT 4
- Allow setting target branches by branch name pattern
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backport.