From fc18df141785036954480bc8cd480697c262749f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9a=20Maugars?= Date: Sun, 11 Oct 2020 14:45:47 +0200 Subject: [PATCH] Make commit_message optional --- README.md | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bea495f..3d80926 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 473689c..884b1f9 100644 --- a/action.yml +++ b/action.yml @@ -6,7 +6,7 @@ author: Stefan Zweifel inputs: commit_message: description: Commit message - required: true + 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