From 942b5404f6f6d4c7582ed5629324d29fdb2c6a20 Mon Sep 17 00:00:00 2001 From: tom Date: Thu, 28 Dec 2023 19:32:08 +0400 Subject: [PATCH] add debug for pre-release labels job skip-checks: true --- .github/workflows/pre-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 532435dc83..e0cb8684b8 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -40,7 +40,9 @@ jobs: const tag = process.env.TAG; const REGEXP = /^v[0-9]+.[0-9]+.[0-9]+-[a-z]+((\.|-)\d+)?$/i; const match = tag.match(REGEXP); - return match && !match[1] ? 'true' : 'false'; + const isInitial = match && !match[1] ? true : false; + core.info('is_initial flag value: ', isInitial); + return isInitial; label_issues: name: Add pre-release label to issues