mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-02-01 14:51:50 +00:00
Update auto-update-app-headers.yml
This commit is contained in:
parent
2db7cb1fdb
commit
b4f2594cef
@ -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."
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user