ci: trigger GitHub Actions workflows only on version tags
Some checks failed
testing main branch / default-user-name-password (push) Has been cancelled
testing main branch / check-ssh-key (push) Has been cancelled
testing main branch / support-key-passphrase (push) Has been cancelled
testing main branch / multiple-server (push) Has been cancelled
testing main branch / support-ed25519-key (push) Has been cancelled
testing main branch / testing-with-env (push) Has been cancelled
testing main branch / testing ipv6 (push) Has been cancelled
testing main branch / some special character (push) Has been cancelled
testing main branch / testing-capturing-output (push) Has been cancelled
testing main branch / testing-script-stop (push) Has been cancelled
testing main branch / testing-script-error (push) Has been cancelled
testing stable version / default-user-name-password (push) Has been cancelled
testing stable version / check-ssh-key (push) Has been cancelled
testing stable version / support-key-passphrase (push) Has been cancelled
testing stable version / multiple-server (push) Has been cancelled
testing stable version / support-ed25519-key (push) Has been cancelled
testing stable version / testing-with-env (push) Has been cancelled
Goreleaser / goreleaser (push) Has been cancelled

- 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
No known key found for this signature in database

View file

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