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 <appleboy.tw@gmail.com>
This commit is contained in:
appleboy
2025-11-28 23:09:09 +08:00
parent f6208e096d
commit 823bd89e13

View File

@@ -3,7 +3,7 @@ name: Goreleaser
on:
push:
tags:
- "*"
- "v[0-9]+.[0-9]+.[0-9]+"
permissions:
contents: write