From b4c5db655e7f5c719707bf7450ac51a304131af8 Mon Sep 17 00:00:00 2001 From: "Robin C. Ladiges" Date: Mon, 8 Aug 2022 18:16:39 +0200 Subject: [PATCH] validate version tags 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