Skip to content

Commit

Permalink
Update auto-update-app-headers.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MickLesk authored Jan 24, 2025
1 parent 2db7cb1 commit b4f2594
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/auto-update-app-headers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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."

0 comments on commit b4f2594

Please sign in to comment.