Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Support for Linear Ticket prefix (OB)
- Support for Linear Ticket prefix (AP | MS)

## [3.3.0] - 2024-11-20

Expand Down
6 changes: 3 additions & 3 deletions src/startUpdateDependents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ export default async function startUpdateDependents({ cwd }: { cwd: string }) {
}>({
type: 'input',
name: 'ticket',
message: `Ticket to associate with pull requests? (e.g. ON-4323, OB-4323)`,
message: `Ticket to associate with pull requests? (e.g. ON-4323, AP-4323, MS-4323)`,
required: true,
validate: (input) => {
if (!/^(ON-|OB-)\d+$/i.test(input)) {
return 'Ticket must be "ON-" or "OB-" followed by a number'
if (!/^[a-z]{1,3}-\d+$/i.test(input)) {
return 'Ticket must be 1-3 alpha characters, then a hyphen followed by a number'
}
return true
},
Expand Down