Skip to content

Commit f06a222

Browse files
committed
fix(readme, util): Update workflow badge in README, remove C and C++ patterns from util.go
👀📝 The README file's workflow badge is updated from 'release.yml' to 'push.yml', pointing to correct workflow. In 'util.go', removed "```c" and "```cpp" from the list of patterns. ```
1 parent 785a177 commit f06a222

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![release](https://github.com/ghcli/gh-commit-src/actions/workflows/release.yml/badge.svg)](https://github.com/ghcli/gh-commit-src/actions/workflows/release.yml)
1+
[![Go Build and Test Workflow](https://github.com/ghcli/gh-commit-src/actions/workflows/push.yml/badge.svg)](https://github.com/ghcli/gh-commit-src/actions/workflows/push.yml)
22

33
# Commit - Automated Git Commit Messages with LLM 🤖📝
44
Artfully create commit messages that reflect the essence of your code changes 🎨🔍. Craftsmanship for your commits 👨‍🎨. Unleash the power of language models to automate your Git commit messages 🌐🤖. With Commit, save time ⏰ and generate meaningful commit messages based on your code changes 📜.

util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func getUserName() {
167167
}
168168
}
169169

170-
var patterns = []string{"```bash", "```plaintext","```diff", "```", "```python", "```javascript", "```go", "```java", "```c", "```cpp", "```csharp", "```ruby", "```php", "```html", "```css", "```json", "```xml", "```yaml", "```md", "```markdown", "```sql", "```shell", "```powershell", "```dockerfile", "```makefile", "```ini", "```apacheconf", "```nginx", "```git", "```vim", "```vimscrip"}
170+
var patterns = []string{"```bash", "```plaintext","```diff", "```", "```python", "```javascript", "```go", "```java", "```csharp", "```ruby", "```php", "```html", "```css", "```json", "```xml", "```yaml", "```md", "```markdown", "```sql", "```shell", "```powershell", "```dockerfile", "```makefile", "```ini", "```apacheconf", "```nginx", "```git", "```vim", "```vimscrip"}
171171

172172
func formatResponse(response string) string {
173173
for _, pattern := range patterns {

0 commit comments

Comments
 (0)