Skip to content

Commit

Permalink
chore(ci): Add a preprocessor for linear issues
Browse files Browse the repository at this point in the history
chriswk committed Jan 8, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 25d12a8 commit 41289cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
@@ -63,6 +63,9 @@ commit_preprocessors = [
# Hyperlink commit links, with short commit hash as description.
{ pattern = "https://github.com/unleash/unleash-edge/commit/([a-f0-9]{7})[a-f0-9]*", replace = "commit # [${1}](${0})" },

# Linear issue references
{ pattern = "\\(([0-9]-[0-9]+)\\)", replace = "Linear issue: [${1}](https://linear.app/unleash/issue/${1})"},

# Hyperlink bare commit hashes like "abcd1234" in commit logs, with short commit hash as description.
{ pattern = "([ \\n])(([a-f0-9]{7})[a-f0-9]*)", replace = "${1}commit # [${3}](https://github.com/unleash/unleash-edge/commit/${2})" },
]

0 comments on commit 41289cf

Please sign in to comment.