Skip to content

Commit

Permalink
chore: update pre-commit hook settings and pre-release typos
Browse files Browse the repository at this point in the history
  • Loading branch information
benbenbang committed Aug 19, 2023
1 parent dbb59cb commit 9226e70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
if [[ -n $(git status --porcelain) ]]; then
# preparing new branch
branch_name="chore/${next_tag}/$(date '+%Y%m%d_%H%M%S')/post_release_changes"
branch_name="chore/${next_tag}/$(date '+%Y%m%d_%H%M%S')/pre_release_changes"
echo "new branch name is: ${branch_name}"
git checkout -b "${branch_name}"
Expand All @@ -93,7 +93,7 @@ jobs:
git push -f origin "${branch_name}"
gh pr create --base main --head "${branch_name}" \
--title "release(versioning): update version to $next_tag" \
--body "Automated PR to bump the version post-release." \
--body "Automated PR to bump the version pre-release." \
--label "release" \
--assignee "ptah-lgtm"
else
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ repos:
- id: validate-commit-msg
name: Commit Message is Valid
language: pygrep
entry: ^(build|ci|docs|feat|fix|perf|refactor|style|test|wip|hotfix|ops|chore)\(?[\w,\.,\-,\(,\),\/]*\)?(!?)(:)\s{1}([\w,\W,:]+)$
entry: ^(build|ci|docs|feat|fix|perf|refactor|style|test|wip|hotfix|ops|chore|release)\(?[\w,\.,\-,\(,\),\/]*\)?(!?)(:)\s{1}([\w,\W,:]+)$
stages: [commit-msg]
args: [--negate]

0 comments on commit 9226e70

Please sign in to comment.