Skip to content

Commit

Permalink
ci: only release on tag with v prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Aug 17, 2024
1 parent 51c95ee commit e1906c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: auto changelog
on:
push:
tags:
- '*'
- 'v*'

jobs:
changelog:
Expand All @@ -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}}
2 changes: 1 addition & 1 deletion .github/workflows/release_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: release_docker
on:
push:
tags:
- '*'
- 'v*'

jobs:
release_docker:
Expand Down

0 comments on commit e1906c9

Please sign in to comment.