Skip to content

Commit 7f77466

Browse files
committed
fix: update bit lane regex pattern and bump version
Update the regex pattern to properly validate bit lane names and bump package version to 4.0.2
1 parent 7e1f143 commit 7f77466

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bit-tasks/pull-request",
3-
"version": "4.0.1",
3+
"version": "4.0.2",
44
"description": "",
55
"main": "dist/index.js",
66
"scripts": {

scripts/bit-lanes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const bitLaneRegex = /^(?!main$)[^/]+\/[^/]+$/;
1+
export const bitLaneRegex = /^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+\/[a-zA-Z0-9-]+\s*$/;

0 commit comments

Comments
 (0)