Tags: guanguans/ai-commit
Tags
ci(chglog): Update changelog template and configuration - Enhance CHANGELOG template to include commit links - Modify config.yml for sorting and grouping options - Update secret-check workflow triggers and actions - Switch to main version of trufflehog for scanning
fix(CommitCommand): Replace null with empty string in message - Replace the null value with an empty string in the message - This change ensures that the message structure remains consistent and avoids issues with null values - Improves overall handling of commit messages in the application
refactor(GithubModelsCliGenerator): Improve process generation logic - Refactor the `generate` method for clarity and efficiency. - Introduce `mustRunProcess` to streamline process execution. - Set process input directly within configuration parameters. - Enhance maintainability and readability of the code.
ci(readme-lint): Improve README validation logic - Refactor README file validation to use a pipeline structure - Introduce a new `pipeFor` function for cleaner processing - Utilize `GrahamCampbellResultType` for error handling - Ensure all README files match the line count of README.md - Provide clearer error messages for mismatched files
ci(config): Add readme-lint script to validate README files - Introduce a new script `readme-lint` to ensure all README-* files have the same number of lines as README.md - Update `.php-cs-fixer.php` and `composer.json` to include the new linting script in the configuration - Enable checking for inconsistencies in README files as part of the development workflow
style(app/Commands): refactor CommitCommand - Move the `diffCommand` method to be above the `commitCommandFor` method. - Remove redundant comments and condition checks. - Reorder methods in a more logical order. - Refactor the `createProcess` method to improve readability and organization.
perf(Generator.php): improve process handling - Add a missing newline in the `__construct` method - Update the `mustRunProcess` and `runProcess` methods to include type declarations - Update the `getHelper` method to include a return type declaration - Modify the `defaultRunningCallback` method to be protected
PreviousNext