Skip to content

Commit

Permalink
Highlight regression bugfixes in changelog (#14474)
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Apr 16, 2024
1 parent 5cc46eb commit 1dca7a3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/github-changelog.cr
Expand Up @@ -150,6 +150,9 @@ record PullRequest,
if labels.includes?("breaking-change")
io << "**[breaking]** "
end
if regression?
io << "**[regression]** "
end
if experimental?
io << "**[experimental]** "
end
Expand Down Expand Up @@ -235,6 +238,10 @@ record PullRequest,
labels.includes?("kind:breaking")
end

def regression?
labels.includes?("kind:regression")
end

def experimental?
labels.includes?("experimental")
end
Expand Down

0 comments on commit 1dca7a3

Please sign in to comment.