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
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

BRANCH="benchmark/v${VERSION}-$(date +%Y%m%d-%H%M%S)"
BRANCH="chore/bench-v${VERSION}-$(date +%Y%m%d-%H%M%S)"
git checkout -b "$BRANCH"
git add generated/benchmarks/BUILD-BENCHMARKS.md generated/benchmarks/QUERY-BENCHMARKS.md generated/benchmarks/INCREMENTAL-BENCHMARKS.md README.md
git commit -m "docs: update performance benchmarks (${VERSION})"
Expand Down Expand Up @@ -249,9 +249,9 @@ jobs:
git config user.email "github-actions[bot]@users.noreply.github.com"

if [ "$VERSION" = "dev" ]; then
BRANCH="benchmark/embedding-dev-$(date +%Y%m%d-%H%M%S)"
BRANCH="chore/embedding-bench-dev-$(date +%Y%m%d-%H%M%S)"
else
BRANCH="benchmark/embedding-v${VERSION}-$(date +%Y%m%d-%H%M%S)"
BRANCH="chore/embedding-bench-v${VERSION}-$(date +%Y%m%d-%H%M%S)"
fi
git checkout -b "$BRANCH"
git add generated/benchmarks/EMBEDDING-BENCHMARKS.md
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
- name: Check branch name
run: |
BRANCH="${{ github.head_ref }}"
PATTERN="^(feat|fix|docs|refactor|test|chore|ci|perf|build|release|dependabot|revert|benchmark)/"
PATTERN="^(feat|fix|docs|refactor|test|chore|ci|perf|build|release|dependabot|revert)/"
if [[ ! "$BRANCH" =~ $PATTERN ]]; then
echo "::error::Branch name '$BRANCH' does not match the required pattern."
echo "Branch names must start with one of: feat/, fix/, docs/, refactor/, test/, chore/, ci/, perf/, build/, release/, dependabot/, revert/, benchmark/"
echo "Branch names must start with one of: feat/, fix/, docs/, refactor/, test/, chore/, ci/, perf/, build/, release/, dependabot/, revert/"
exit 1
fi
echo "Branch name '$BRANCH' is valid."
Loading