Thinkmill / Thinkmill/keystatic
feature-request: add `prTitle` option to `config.storage.kind = github` for computing PR title
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 159
- Avg merge
- 21h 41m
- Merged PRs (30d)
- 2
Description
Current
Currently, when you create a PR from Keystatic the PR title is computed by keytatic (or by github).
There is no options to customize it.
Request Proposal
Adding a new prTitle option when config.storage.kind = github.
The new option can be a simple string, but i think using a function is more ready for future additions.
// in keystatic config
config({
storage: {
kind: 'github',
prTitle: (options) => {
/*
options: {
branchName: 'XXXXXXXX',
}
*/
return `feat: publish content` + options.branchName;
}
}
})
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the GitHub storage configuration and the PR-creation path described in the request. Check how the current title is computed and where a configurable prTitle value would be applied; done means GitHub-backed PRs use the configured title behavior while existing configurations continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100