ci: only release on tag with `v` prefix

pull/6645/head^2
Andy Hsu 2024-08-17 22:06:08 +08:00
parent 51c95ee117
commit e1906c9312
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ name: auto changelog
on:
push:
tags:
- '*'
- 'v*'
jobs:
changelog:
@ -14,6 +14,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: npx changelogithub # or changelogithub@0.12 if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.MY_TOKEN}}

View File

@ -3,7 +3,7 @@ name: release_docker
on:
push:
tags:
- '*'
- 'v*'
jobs:
release_docker: