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
parent
f6208e096d
commit
823bd89e13
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue