From 250eba8699151c50804a2c582b39d868f2aacbaf Mon Sep 17 00:00:00 2001 From: amousavigourabi <28668597+amousavigourabi@users.noreply.github.com> Date: Thu, 17 Aug 2023 05:13:22 +0200 Subject: [PATCH] Sudo stage --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 00a6617..df958c1 100644 --- a/action.yml +++ b/action.yml @@ -56,7 +56,7 @@ runs: - name: 'Commit and push the changed files' run: | sudo ${{ github.action_path }}/setup-branch.sh ${{ inputs.branch }} - git stage -A ${{ inputs.files }} + sudo git stage -A ${{ inputs.files }} sudo ${{ github.action_path }}/commit.sh "${{ inputs.message }}" ${{ inputs.allow-empty }} sudo ${{ github.action_path }}/push.sh ${{ inputs.branch }} shell: bash