From e1906c9312822608877460c52fb6bf06fed276b5 Mon Sep 17 00:00:00 2001 From: Andy Hsu Date: Sat, 17 Aug 2024 22:06:08 +0800 Subject: [PATCH] ci: only release on tag with `v` prefix --- .github/workflows/changelog.yml | 3 ++- .github/workflows/release_docker.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 8c1bfb67d03..55efd9a8984 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -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}} diff --git a/.github/workflows/release_docker.yml b/.github/workflows/release_docker.yml index 4e039ba0780..95a686b2fce 100644 --- a/.github/workflows/release_docker.yml +++ b/.github/workflows/release_docker.yml @@ -3,7 +3,7 @@ name: release_docker on: push: tags: - - '*' + - 'v*' jobs: release_docker: