Skip to content

Commit

Permalink
Add missing case statements for release PRs
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Shen <mishen@umich.edu>
  • Loading branch information
mjlshen committed Oct 31, 2023
1 parent e389278 commit c4df64c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions notes/common/prefix.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ func (t PRType) Emoji() string {
return emojiDocs
case InfraPR:
return emojiInfra
case ReleasePR:
return emojiRelease
default:
panic(fmt.Sprintf("unrecognized PR type %v", t))
}
Expand All @@ -55,6 +57,8 @@ func (t PRType) String() string {
return "docs"
case InfraPR:
return "infra"
case ReleasePR:
return "release"
default:
panic(fmt.Sprintf("unrecognized PR type %d", int(t)))
}
Expand Down

0 comments on commit c4df64c

Please sign in to comment.