From 10571b77b756bea8046f59de08d27f84c4faffe9 Mon Sep 17 00:00:00 2001 From: "Robin C. Ladiges" Date: Tue, 27 Sep 2022 16:04:05 +0200 Subject: [PATCH] validate version tags (#308) so non-semver tags don't trigger a deployment that will fail. It's not a normal regexp syntax. Dots `.` will only match dots and not any characters. --- .github/workflows/build-and-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 6ea8ba4..3107c1c 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -5,7 +5,7 @@ on: branches: - master tags: - - 'v*' + - 'v[0-9]+.[0-9]+.[0-9]+' pull_request: branches: - master