1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-02-01 17:51:49 +00:00

Update auto-update-app-headers.yml

This commit is contained in:
CanbiZ 2025-01-24 14:50:48 +01:00 committed by GitHub
parent 2db7cb1fdb
commit b4f2594cef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ on:
- main
paths:
- 'ct/**.sh'
workflow_dispatch: # Ermöglicht das manuelle Ausführen der Action
workflow_dispatch:
jobs:
update-app-files:
@ -47,11 +47,14 @@ jobs:
- name: Check if there are any changes
id: verify-diff
run: |
echo "Checking for changes..."
git status
if git diff --quiet; then
echo "No changes detected."
echo "changed=false" >> $GITHUB_OUTPUT
else
echo "Changes detected."
echo "Changes detected:"
git diff --stat
echo "changed=true" >> $GITHUB_OUTPUT
fi
@ -76,3 +79,4 @@ jobs:
- name: No changes detected
if: steps.verify-diff.outputs.changed == 'false'
run: echo "No changes to commit. Workflow completed successfully."