From b79e3e4a1eca3a094eea644680227f23a271c1fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Apr 2025 08:44:58 +0000 Subject: [PATCH 1/3] chore(deps): bump python-semantic-release/python-semantic-release Bumps [python-semantic-release/python-semantic-release](https://github.com/python-semantic-release/python-semantic-release) from 9.1.1 to 9.21.0. - [Release notes](https://github.com/python-semantic-release/python-semantic-release/releases) - [Changelog](https://github.com/python-semantic-release/python-semantic-release/blob/master/CHANGELOG.rst) - [Commits](https://github.com/python-semantic-release/python-semantic-release/compare/v9.1.1...v9.21.0) --- updated-dependencies: - dependency-name: python-semantic-release/python-semantic-release dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3de58254..4571269c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -106,7 +106,7 @@ jobs: id: release # see https://python-semantic-release.readthedocs.io/en/latest/automatic-releases/github-actions.html # see https://github.com/python-semantic-release/python-semantic-release - uses: python-semantic-release/python-semantic-release@v9.1.1 + uses: python-semantic-release/python-semantic-release@v9.21.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} force: ${{ github.event.inputs.release_force }} From c2e347b87cbf6add9dae3bd870deadfa49042cc9 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Wed, 23 Apr 2025 11:06:29 +0200 Subject: [PATCH 2/3] Update pyproject.toml Signed-off-by: Jan Kowalleck --- pyproject.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1c1260f6..0a2fe6bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,10 +101,16 @@ bandit = "1.8.3" [tool.semantic_release] # see https://python-semantic-release.readthedocs.io/en/latest/configuration.html +logging_use_named_masks = true +commit_parser = "conventional" +commit_parser_options = { parse_squash_commits = true, ignore_merge_commits = true } commit_author = "semantic-release " commit_message = "chore(release): {version}\n\nAutomatically generated by python-semantic-release\n\nSigned-off-by: semantic-release " upload_to_vcs_release = true -build_command = "pip install poetry && poetry build" +build_command = """ + pip install poetry + poetry build +""" version_toml = ["pyproject.toml:tool.poetry.version"] version_variables = [ "cyclonedx/__init__.py:__version__", From b86e42bc2151fbfe0c914fab85e1c460dc8296ca Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Wed, 23 Apr 2025 11:43:28 +0200 Subject: [PATCH 3/3] chore: migrate config Signed-off-by: Jan Kowalleck --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0a2fe6bd..9afca7f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,7 +87,7 @@ flake8 = "7.2.0" flake8-annotations = "3.1.1" flake8-bugbear = "24.12.12" flake8-copyright-validator = "0.0.1" -flake8-isort = "6.1.2" +flake8-isort = "6.1.2" flake8-quotes = "3.4.0" flake8-use-fstring = "1.4" pep8-naming = "0.14.1" @@ -122,7 +122,7 @@ dist_glob_patterns = ["dist/*"] upload_to_vcs_release = true [tool.semantic_release.changelog] -changelog_file = "CHANGELOG.md" +default_templates = { changelog_file = "CHANGELOG.md" } exclude_commit_patterns = [ '''chore(?:\([^)]*?\))?: .+''', '''ci(?:\([^)]*?\))?: .+''',