From aba0e4db1ce859a3113b0d6ad6965d9655731e17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20V=C3=A1rady?= Date: Sun, 19 May 2024 20:15:49 +0200 Subject: [PATCH] ci: fix tag validation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: László Várady --- .github/workflows/axosyslog-stable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/axosyslog-stable.yml b/.github/workflows/axosyslog-stable.yml index b3c887b462..752303c0c5 100644 --- a/.github/workflows/axosyslog-stable.yml +++ b/.github/workflows/axosyslog-stable.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Validate tag run: | - if [[ "${{ github.ref }}" != refs/tags/axosyslog-[0-9]+* ]]; then + if [[ "${{ github.ref }}" =~ ^refs/tags/axosyslog-[0-9]+ ]]; then echo "Please start the workflow on a 'axosyslog-[0-9]+*' tag" false fi