Skip to content

Commit 07ba721

Browse files
authored
Merge pull request #30 from abekoh/update-v17
Update v17
2 parents d7005ff + e2fb031 commit 07ba721

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/plantuml.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010
- name: generate and commit diagrams
11-
uses: abekoh/commit-plantuml-action@main
11+
uses: abekoh/commit-plantuml-action@v6
1212
with:
1313
botEmail: ${{ secrets.BOT_EMAIL }}
1414
botGithubToken: ${{ secrets.BOT_GITHUB_TOKEN }}

actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ inputs:
66
required: true
77
botGithubToken:
88
description: "token of GitHub to commit"
9-
required: true
9+
required: false
1010
enableReviewComment:
1111
description: "whether post review comment or not"
12-
required: true
12+
required: false
1313
default: false
1414
runs:
1515
using: "docker"

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [[ ! "${INPUT_BOTEMAIL}" ]]; then
99
echo "ERROR: Please set inputs.botEmail"
1010
exit 1
1111
fi
12-
if [[ ! "${INPUT_BOTGITHUBTOKEN}" ]]; then
12+
if [[ "${INPUT_ENABLEREVIEWCOMMENT}" = "true" && ! "${INPUT_BOTGITHUBTOKEN}" ]]; then
1313
echo "ERROR: Please set inputs.botGithubToken"
1414
exit 1
1515
fi

0 commit comments

Comments
 (0)