From d243a88b384972ed767ea9c3b25ef8e1ba825a4b Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Thu, 2 Jan 2025 00:47:36 -0800 Subject: [PATCH] Allow commas --- .github/workflows/bug-report-version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bug-report-version.yml b/.github/workflows/bug-report-version.yml index 62d3526..d2fa013 100644 --- a/.github/workflows/bug-report-version.yml +++ b/.github/workflows/bug-report-version.yml @@ -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' }); } - } \ No newline at end of file + }