From 823bd89e131d8d508129f9443cad5855e9ba96f0 Mon Sep 17 00:00:00 2001 From: appleboy Date: Fri, 28 Nov 2025 23:09:09 +0800 Subject: [PATCH] ci: trigger GitHub Actions workflows only on version tags - Restrict the GitHub Actions workflow to trigger only on tags matching the pattern vMAJOR.MINOR.PATCH Signed-off-by: appleboy --- .github/workflows/goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 7f1ae24..c39f21f 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -3,7 +3,7 @@ name: Goreleaser on: push: tags: - - "*" + - "v[0-9]+.[0-9]+.[0-9]+" permissions: contents: write