mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 00:21:33 -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: |
|
||||
const issueBody = context.payload.issue.body;
|
||||
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 }}';
|
||||
|
||||
if (versionHeader && !versionMatch) {
|
||||
@ -50,4 +50,4 @@ jobs:
|
||||
state_reason: 'not_planned'
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user