Make commit_message optional

This commit is contained in:
Andréa Maugars 2020-10-11 14:45:47 +02:00 committed by Andrea Maugars
parent 8f243393e7
commit fc18df1417
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ Add the following step at the end of your job, after other steps that might add
```yaml ```yaml
- uses: stefanzweifel/git-auto-commit-action@v4 - uses: stefanzweifel/git-auto-commit-action@v4
with: with:
# Required # Optional but recommended, defaults to "Apply automatic changes"
commit_message: Apply automatic changes commit_message: Apply automatic changes
# Optional branch to push to, defaults to the current branch # Optional branch to push to, defaults to the current branch

View File

@ -6,7 +6,7 @@ author: Stefan Zweifel <hello@stefanzweifel.io>
inputs: inputs:
commit_message: commit_message:
description: Commit message description: Commit message
required: true default: Apply automatic changes
branch: branch:
description: Git branch name, where changes should be pushed too. Required if Action is used on the `pull_request` event description: Git branch name, where changes should be pushed too. Required if Action is used on the `pull_request` event
required: false required: false