File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474 GITHUB_REPO : ${{ github.repository }}
7575 GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
7676 run : |
77- npx git-cliff --config .change-log-config/src/cliff.toml --verbose --latest --strip all > pr_body_raw.md
77+ npx git-cliff --config .change-log-config/src/cliff.toml --verbose --latest --strip all --tag-pattern '^v[0-9].*' > pr_body_raw.md
7878
7979 - name : 📂 Save PR Body to File
8080 run : |
@@ -87,10 +87,10 @@ jobs:
8787 run : |
8888 if [ -f "CHANGELOG.md" ]; then
8989 # File exists: Prepend new changes (git-cliff intelligently handles headers).
90- npx git-cliff --config .change-log-config/src/cliff.toml --verbose --latest --prepend CHANGELOG.md
90+ npx git-cliff --config .change-log-config/src/cliff.toml --verbose --latest --prepend CHANGELOG.md --tag-pattern '^v[0-9].*'
9191 else
9292 # File missing: Create new with full history and header.
93- npx git-cliff --config .change-log-config/src/cliff.toml --verbose --output CHANGELOG.md
93+ npx git-cliff --config .change-log-config/src/cliff.toml --verbose --output CHANGELOG.md --tag-pattern '^v[0-9].*'
9494 fi
9595
9696 - name : 🔄 Sync Commit and Push
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ postprocessors = []
5454
5555
5656[git ]
57+ # pattern for matching git tags
58+ tag_pattern = " ^v[0-9].*"
5759conventional_commits = true
5860filter_unconventional = true
5961split_commits = false
You can’t perform that action at this time.
0 commit comments