log changes made by the action in main.yml

This commit is contained in:
Fabian Egli 2024-10-19 00:04:15 +02:00 committed by GitHub
parent cfaade6e2f
commit a46d06d436
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,7 @@ jobs:
git config --global user.name "ai.robots.txt"
git config --global user.email "ai.robots.txt@users.noreply.github.com"
php -f code/action.php
git --no-pager diff
git add -A
if [ -n "${{ inputs.message }}" ]; then
git commit -m "${{ inputs.message }}"