This commit is contained in:
2026-06-18 14:25:58 +02:00
parent 176966bcf7
commit c86c093bab
+5
View File
@@ -44,17 +44,22 @@ runs:
- name: Commit and push changes
working-directory: ${{ inputs.destination }}
run: |
echo "git config"
git config user.name "${{ inputs.git_user_name }}"
git config user.email "${{ inputs.git_user_email }}"
echo "git add"
git add -A
echo "git diff"
if git diff --cached --quiet; then
echo "No changes to commit"
exit 0
fi
echo "git commit"
git commit -m "${{ inputs.commit_message }}"
echo "git push"
git push origin "HEAD:${{ inputs.branch }}"
shell: bash