Skip to content

Commit 62f67a4

Browse files
[stable-25-1-1] Enable tag trigger for nightly builds (#20824)
2 parents 95980e8 + a8c02a8 commit 62f67a4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/actions/test_ya/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ runs:
287287
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
288288
echo "BRANCH_NAME is set to $BRANCH_NAME"
289289
290-
TESTMO_BRANCH_TAG="$BRANCH_NAME"
290+
TESTMO_BRANCH_TAG="${BRANCH_NAME//[^a-zA-Z0-9-]/-}"
291291
TESTMO_ARCH="${{ runner.arch == 'X64' && 'x86-64' || runner.arch == 'ARM64' && 'arm64' || 'unknown' }}"
292292
TESTMO_PR_NUMBER=${{ github.event.number }}
293293

.github/workflows/nightly_build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
commit_sha:
1010
type: string
1111
default: ""
12+
push:
13+
tags:
14+
- '[0-9]**'
1215
jobs:
1316
build_and_test:
1417
strategy:

0 commit comments

Comments
 (0)