Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(chore): Fix github PR creation in release prepare [MTG-1360] #439

Merged
merged 2 commits into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/release-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ jobs:
--base main \
--head ${{ env.RELEASE_BRANCH }} \
--title "Release v${{ inputs.version }}" \
--body-file .changelog_content \
--draft false
--body-file .changelog_content

echo "Pull Request created. Please review the PR, make any necessary adjustments, and merge when ready."

Expand Down
8 changes: 4 additions & 4 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ postprocessors = [
# parse the commits based on https://www.conventionalcommits.org
conventional_commits = true
# filter out the commits that are not conventional
filter_unconventional = false
filter_unconventional = true
# process each line of a commit as an individual commit
split_commits = false
# regex for parsing and grouping commits
Expand All @@ -61,7 +61,7 @@ commit_parsers = [
{ message = "^test(\\(.*\\))?:", group = "Testing" },
{ message = "^chore\\(release\\):", skip = true },
{ message = "^chore\\(deps\\)(\\(.*\\))?:", group = "Dependencies" },
{ message = "^chore(\\(.*\\))?:", group = "Miscellaneous Tasks" },
{ message = "^chore(\\(.*\\))?:", group = "Build Process & Auxiliary Tools" },
{ message = "^ci(\\(.*\\))?:", group = "CI/CD" },

# Simple commits without scope
Expand All @@ -75,10 +75,10 @@ commit_parsers = [
{ message = "^MTG-\\d+\\s+.*(feat|feature)", group = "Features" },
{ message = "^MTG-\\d+\\s+.*(doc|docs)", group = "Documentation" },
{ message = "^MTG-\\d+\\s+.*(test)", group = "Testing" },
{ message = "^MTG-\\d+\\s+", group = "Tasks" },
{ message = "^MTG-\\d+\\s+", group = "Miscellaneous Tasks" },
]
# filter out the commits that are not matched by commit parsers
filter_commits = false
filter_commits = true
# glob pattern for matching git tags
tag_pattern = "v[0-9]*.[0-9]*.[0-9]*"
# regex for skipping tags
Expand Down
Loading