Skip to content

Commit

Permalink
fix: add missing prefix to array
Browse files Browse the repository at this point in the history
  • Loading branch information
cptchloroplast committed Apr 25, 2023
1 parent d579557 commit 5eec2a9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .githooks/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
COMMIT_MESSAGE=$(<$1)

# verify message starts with prefix
PREFIXES=(feat fix chore build ci docs refactor style)
PREFIXES=(feat fix chore build ci docs refactor style test)
for PREFIX in ${PREFIXES[@]}
do
if [[ $COMMIT_MESSAGE == $PREFIX:* ]]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
steps:
- name: Check that title contains prefix
run: |
PREFIXES=(feat fix chore build ci docs refactor style)
PREFIXES=(feat fix chore build ci docs refactor style test)
for PREFIX in ${PREFIXES[@]}
do
if [[ "${{ github.event.pull_request.title }}" == $PREFIX:* ]]
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "template",
"version": "1.0.0-epic-1-v1.3",
"version": "1.0.0-epic-1-v1.4",
"description": "Okkema Labs Javascript Template",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 5eec2a9

Please sign in to comment.