We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c323019 + e6332da commit aab9334Copy full SHA for aab9334
actions/publish/action.yml
@@ -10,6 +10,10 @@ inputs:
10
qiita-token:
11
required: true
12
description: "Qiita API token"
13
+ commit-message:
14
+ required: false
15
+ description: "Git commit message"
16
+ default: "Updated by qiita-cli"
17
18
runs:
19
using: "composite"
@@ -31,7 +35,7 @@ runs:
31
35
if ! git diff --staged --exit-code --quiet; then
32
36
git config --global user.name 'github-actions[bot]'
33
37
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
34
- git commit -m 'Updated by qiita-cli'
38
+ git commit -m ${{ inputs.commit-message }}
39
git push
40
fi
41
shell: bash
0 commit comments