File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 87
87
run : |
88
88
echo "Pull request titles should follow stdlib's Git commit message conventions."
89
89
echo "Linting pull request title..."
90
- make lint-commit-message GIT_COMMIT_MESSAGE=" ${{ github.event.pull_request.title }}"
90
+ make lint-commit-message GIT_COMMIT_MESSAGE=' ${{ github.event.pull_request.title }}'
91
91
timeout-minutes : 5
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ endif
43
43
# @param {string} GIT_COMMIT_MESSAGE - Git commit message text
44
44
#
45
45
# @example
46
- # make lint-commit-message GIT_COMMIT_MESSAGE=" feat: add `foo/bar`"
46
+ # make lint-commit-message GIT_COMMIT_MESSAGE=' feat: add `foo/bar`'
47
47
# /
48
48
lint-commit-message :
49
49
ifeq ($(GIT_COMMIT_LINTER ) , commitlint)
50
- $(QUIET) NODE_ENV="$(NODE_ENV)" NODE_PATH="$(NODE_PATH)" GIT_COMMIT_MESSAGE=" $(GIT_COMMIT_MESSAGE)" $(MAKE) -f $(this_file) commitlint-message
50
+ $(QUIET) NODE_ENV="$(NODE_ENV)" NODE_PATH="$(NODE_PATH)" GIT_COMMIT_MESSAGE=' $(GIT_COMMIT_MESSAGE)' $(MAKE) -f $(this_file) commitlint-message
51
51
endif
52
52
53
53
.PHONY : lint-commit-message
Original file line number Diff line number Diff line change @@ -92,10 +92,10 @@ commitlint: $(NODE_MODULES) commitlint-init
92
92
# @private
93
93
#
94
94
# @example
95
- # make commitlint-message
95
+ # make commitlint-message GIT_COMMIT_MESSAGE='feat: add `foo/bar`'
96
96
# /
97
97
commitlint-message : $(NODE_MODULES ) commitlint-init
98
- $(QUIET ) ( printf " $( GIT_COMMIT_MESSAGE) " | " $( COMMITLINT) " $( COMMITLINT_FLAGS) ) || ( $( MAKE) -f $( this_file) commitlint-cleanup && exit 1 )
98
+ $(QUIET ) ( printf ' $(GIT_COMMIT_MESSAGE)' | " $( COMMITLINT) " $( COMMITLINT_FLAGS) ) || ( $( MAKE) -f $( this_file) commitlint-cleanup && exit 1 )
99
99
$(QUIET ) $(MAKE ) -f $(this_file ) commitlint-cleanup
100
100
101
101
.PHONY : commitlint-message
You can’t perform that action at this time.
0 commit comments