File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ jobs:
147147 format_section() {
148148 local pattern="$1"
149149 local title="$2"
150- local content=$(echo "$LOG" | grep -iE "^ $pattern" || true)
150+ local content=$(echo "$LOG" | grep -iE "$pattern" || true)
151151 if [[ -n "$content" ]]; then
152152 echo "### $title"
153153 echo "$content"
@@ -156,14 +156,14 @@ jobs:
156156 }
157157
158158 {
159- format_section '^ feat|^ feature' "🚀 Features"
160- format_section '^ fix' "🚫 Bugs"
161- format_section '^ test' "🔎 Tests"
162- format_section '^ chore|^ refactor|^ internal|^ ci|^ docs' "🔧 Maintenance"
163- format_section '^ deps|^ dependencies' "📦 Dependencies"
159+ format_section 'feat|feature' "🚀 Features"
160+ format_section 'fix' "🚫 Bugs"
161+ format_section 'test' "🔎 Tests"
162+ format_section 'chore|refactor|internal|ci|docs' "🔧 Maintenance"
163+ format_section 'deps|dependencies' "📦 Dependencies"
164164
165165 # Other commits not matching any above
166- OTHER=$(echo "$LOG" | grep -vE '^( feat|feature|fix|test|chore|refactor|internal|ci|docs|deps|dependencies) ' || true)
166+ OTHER=$(echo "$LOG" | grep -vE 'feat|feature|fix|test|chore|refactor|internal|ci|docs|deps|dependencies' || true)
167167 if [[ -n "$OTHER" ]]; then
168168 echo "### 🧼 Other Changes"
169169 echo "$OTHER"
You can’t perform that action at this time.
0 commit comments