mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-19 00:51:30 -07:00
Allow commas
This commit is contained in:
parent
9d638b4284
commit
d243a88b38
4
.github/workflows/bug-report-version.yml
vendored
4
.github/workflows/bug-report-version.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
const issueBody = context.payload.issue.body;
|
const issueBody = context.payload.issue.body;
|
||||||
const versionHeader = issueBody.match(/### Bloxstrap Version/);
|
const versionHeader = issueBody.match(/### Bloxstrap Version/);
|
||||||
const versionMatch = issueBody.match(/v?\d+\.\d+\.\d+/);
|
const versionMatch = issueBody.match(/v?\d+[\.,]\d+[\.,]\d+/);
|
||||||
const latestVersion = '${{ steps.read-version.outputs.version }}';
|
const latestVersion = '${{ steps.read-version.outputs.version }}';
|
||||||
|
|
||||||
if (versionHeader && !versionMatch) {
|
if (versionHeader && !versionMatch) {
|
||||||
@ -50,4 +50,4 @@ jobs:
|
|||||||
state_reason: 'not_planned'
|
state_reason: 'not_planned'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user