From 7e6f4189c7e47324df3da75a84bcb5cee127b822 Mon Sep 17 00:00:00 2001 From: Russell Bunch Date: Tue, 5 Nov 2024 13:34:36 -0600 Subject: [PATCH] Support any major version and optional `v` The regexes for our workflows were inconsistent with one another. They should be the same, and not limit themselves to `1.x.y` and `2.x.y`. --- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 939f0bd42..4698da12b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,7 +6,7 @@ on: - '*' tags: # semver tags: - - 'v[12].[0-9]+.[0-9]+' + - 'v[0-9].[0-9]+.[0-9]+' pull_request: branches: - main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 086e7d689..b6c088bbe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ on: - '*' tags: # semver tags: - - 'v[12].[0-9]+.[0-9]+' + - 'v[0-9].[0-9]+.[0-9]+' pull_request: branches: - main