Title: fix: cz bump subdir by Yusin0903 · Pull Request #1391 · commitizen-tools/commitizen · GitHub
Open Graph Title: fix: cz bump subdir by Yusin0903 · Pull Request #1391 · commitizen-tools/commitizen
X Title: fix: cz bump subdir by Yusin0903 · Pull Request #1391 · commitizen-tools/commitizen
Description: Description This pull request fixes the construction of the changelog file name in changelog.py to ensure type safety and correct path handling. It also adds proper error handling for missing or invalid changelog file names. Checklist Add test cases to all the changes you introduce Run poetry all locally to ensure this change passes linter check and test Test the changes on the local machine manually Update the documentation for the changes Expected behavior The changelog command should now correctly resolve the changelog file path, regardless of whether the config path is set, and should raise a clear error if the file name is missing or invalid. Steps to Test This Pull Request Run poetry all and ensure all checks pass. Run the changelog command with and without the --file-name argument. Verify that the changelog file is created at the expected location. Check that an error is raised if the changelog file name is missing or invalid. Additional context Sorry, I don' t know why my last branch have hide word problem. So I open lots of PR and close them . By the way, I saw the github action warning This is a scheduled Ubuntu 20.04 retirement. Ubuntu 20.04 LTS runner will be removed on 2025-04-15. For more details, see https://github.com/actions/runner-images/issues/11101Show more
Open Graph Description: Description This pull request fixes the construction of the changelog file name in changelog.py to ensure type safety and correct path handling. It also adds proper error handling for missing or ...
X Description: Description This pull request fixes the construction of the changelog file name in changelog.py to ensure type safety and correct path handling. It also adds proper error handling for missing or ...
Opengraph URL: https://github.com/commitizen-tools/commitizen/pull/1391
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fe2088a4-2642-8dc1-d4f7-2bf1bb4ed73d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B158:7A367:7A6798:B39850:6A4E1557 |
| html-safe-nonce | ba32656bfd315ece2ad89b5c208660f04057ba5d6c05f57bb04ba91743f37ccd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTU4OjdBMzY3OjdBNjc5ODpCMzk4NTA6NkE0RTE1NTciLCJ2aXNpdG9yX2lkIjoiNzEzODM5NDEzNjMyMzY5MTg2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fcee8974e6ef5f6a0ca54255a62c87f63809e3f90eb2b8b515427cbdf3040d3b |
| hovercard-subject-tag | pull_request:2464118833 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/commitizen-tools/commitizen/pull/1391/files |
| twitter:image | https://avatars.githubusercontent.com/u/34501891?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/34501891?s=400&v=4 |
| og:image:alt | Description This pull request fixes the construction of the changelog file name in changelog.py to ensure type safety and correct path handling. It also adds proper error handling for missing or ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ea9187571e3edc5f2780f750631138669441ca50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width