diff --git a/README.md b/README.md index bea495fd..3d809266 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Add the following step at the end of your job, after other steps that might add ```yaml - uses: stefanzweifel/git-auto-commit-action@v4 with: - # Required + # Optional but recommended, defaults to "Apply automatic changes" commit_message: Apply automatic changes # Optional branch to push to, defaults to the current branch diff --git a/action.yml b/action.yml index 473689ce..a4a86300 100644 --- a/action.yml +++ b/action.yml @@ -6,7 +6,8 @@ author: Stefan Zweifel inputs: commit_message: description: Commit message - required: true + required: false + default: Apply automatic changes branch: description: Git branch name, where changes should be pushed too. Required if Action is used on the `pull_request` event required: false