Skip to content

Commit

Permalink
♻️ Refactor commit.yml in src/plugins/ directory
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannLai committed Jul 27, 2023
1 parent df78047 commit b41a267
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plugins/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ steps:
- name: "ask if user want to execute the command"
uses: "gpt:confirm"
with:
message: "Would you like to use this commit message ⬆️ ? "
message: "Would you like to use this commit message(n can change another) ⬆️ ? "
default: true
export:
answer: ANSWER
Expand All @@ -85,7 +85,8 @@ steps:
script:
- $COMMAND
- exit 78
# if the result is not good, ask user to input some suggestions to regenerate the commit message
# if the result is not good
# ask user to input some suggestions to regenerate the commit message
- name: "ask if user want to regenerate the commit message"
if: $ANSWER == false
uses: "gpt:input"
Expand Down

0 comments on commit b41a267

Please sign in to comment.