ci: only release on tag with v prefix

This commit is contained in:
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: on:
push: push:
tags: tags:
- '*' - 'v*'
jobs: jobs:
changelog: changelog:
@ -14,6 +14,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- run: npx changelogithub # or changelogithub@0.12 if ensure the stable result - run: npx changelogithub # or changelogithub@0.12 if ensure the stable result
env: env:
GITHUB_TOKEN: ${{secrets.MY_TOKEN}} GITHUB_TOKEN: ${{secrets.MY_TOKEN}}

View File

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