File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
steps :
9
9
- uses : actions/checkout@v2
10
10
- name : generate and commit diagrams
11
- uses : abekoh/commit-plantuml-action@main
11
+ uses : abekoh/commit-plantuml-action@v6
12
12
with :
13
13
botEmail : ${{ secrets.BOT_EMAIL }}
14
14
botGithubToken : ${{ secrets.BOT_GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ inputs:
6
6
required : true
7
7
botGithubToken :
8
8
description : " token of GitHub to commit"
9
- required : true
9
+ required : false
10
10
enableReviewComment :
11
11
description : " whether post review comment or not"
12
- required : true
12
+ required : false
13
13
default : false
14
14
runs :
15
15
using : " docker"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if [[ ! "${INPUT_BOTEMAIL}" ]]; then
9
9
echo " ERROR: Please set inputs.botEmail"
10
10
exit 1
11
11
fi
12
- if [[ ! " ${INPUT_BOTGITHUBTOKEN} " ]]; then
12
+ if [[ " ${INPUT_ENABLEREVIEWCOMMENT} " = " true " && ! " ${INPUT_BOTGITHUBTOKEN} " ]]; then
13
13
echo " ERROR: Please set inputs.botGithubToken"
14
14
exit 1
15
15
fi
You can’t perform that action at this time.
0 commit comments