From 7f0e86140249fe548e9b0934205b91310d8f8647 Mon Sep 17 00:00:00 2001 From: Guillaume Falourd Date: Fri, 27 Jan 2023 09:23:59 -0300 Subject: [PATCH] Update action.yml --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index e5be3e9..13bebf7 100644 --- a/action.yml +++ b/action.yml @@ -85,6 +85,8 @@ runs: git config --local user.email "${{ inputs.email }}" git config --local user.name "${{ inputs.name }}" + git fetch + if [[ `git status --porcelain` ]]; then git add ${{ inputs.files }} -v git commit -m "${{ inputs.commit_message }}" $EMPTY