Merge pull request #110 from Aebrathia/patch-1

Make commit_message optional #103
This commit is contained in:
Stefan Zweifel 2020-10-11 20:16:25 +02:00 committed by GitHub
commit 814219db13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 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,8 @@ author: Stefan Zweifel <hello@stefanzweifel.io>
inputs: inputs:
commit_message: commit_message:
description: Commit message description: Commit message
required: true required: false
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