Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

jobs:
test:
name: Test
name: Jest Tests
runs-on: ubuntu-latest
timeout-minutes: 10

Expand Down
5 changes: 3 additions & 2 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ commit_preprocessors = [
# Handle PR references in commit messages (e.g., "fix: issue (#123)" or "fix: issue #123")
# This works with squash merges where PR references are included in the commit message
{ pattern = '\\(#(\\d+)\\)', replace = "([#${1}](https://github.com/JSONbored/safemocker/pull/${1}))" },
{ pattern = ' #(\\d+)(?![0-9])', replace = " [#${1}](https://github.com/JSONbored/safemocker/pull/${1})" },
# Handle standalone PR references (space before #, followed by digits, then non-digit or end)
{ pattern = ' #(\\d+)([^0-9]|$)', replace = " [#${1}](https://github.com/JSONbored/safemocker/pull/${1})${2}" },
# Handle co-authored commits (Co-authored-by: user@example.com)
# Extract co-author information for better attribution
{ pattern = 'Co-authored-by: (.+)', replace = "Co-authored-by: $1" },
Expand All @@ -150,7 +151,7 @@ commit_preprocessors = [
# Remove trailing periods from commit messages for consistency
{ pattern = '\\.$', replace = "" },
# Clean up common merge commit prefixes
{ pattern = '^Merge branch \'[^\']+\' into ', replace = "" },
{ pattern = "^Merge branch '[^']+' into ", replace = "" },
{ pattern = '^Merge .+ into ', replace = "" },
]

Expand Down