mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-10-03 01:30:44 +09:00
ci: restrict tag triggers to full semver
- Prevent the floating v1 major tag from cutting a goreleaser release or a docker image build
This commit is contained in:
@@ -5,7 +5,8 @@ on:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- "v*"
|
||||
# full semver only; the floating major tag (v1) must not trigger builds
|
||||
- "v[0-9]*.[0-9]*.[0-9]*"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
@@ -3,7 +3,8 @@ name: Goreleaser
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
# full semver only; the floating major tag (v1) must not cut a release
|
||||
- "v[0-9]*.[0-9]*.[0-9]*"
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
Reference in New Issue
Block a user