From 902e6d7a2768399ecaac6d3c5e0711828950f43d Mon Sep 17 00:00:00 2001 From: Justin Ma Date: Sat, 11 Jan 2025 21:00:28 +0800 Subject: [PATCH] Do not trigger release WF on nightly tags (#14803) # Description Don't trigger release for nightly tags, more context could be found here: https://github.com/nushell/nightly/issues/35 --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 493719efc7..d11c9ab747 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,9 @@ name: Create Release Draft on: workflow_dispatch: push: - tags: ["[0-9]+.[0-9]+.[0-9]+*"] + tags: + - '[0-9]+.[0-9]+.[0-9]+*' + - '!*nightly*' # Don't trigger release for nightly tags defaults: run: