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>
master v1
appleboy 2025-11-28 23:09:09 +08:00
parent f6208e096d
commit 823bd89e13
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

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