Skip to content

Commit

Permalink
Update generate-app-headers.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MickLesk authored Jan 10, 2025
1 parent 1a9320c commit 0d2db00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-app-headers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ jobs:
echo "$(figlet $APP_NAME)" >> .app-headers
done
# Step 7: Check if there are changes to commit
# Step 7: Check for changes and commit
- name: Check for changes and commit
run: |
git diff --exit-code --quiet .app-headers
if [ $? -eq 1 ]; then
echo ".app-headers has been updated, committing changes."
git commit -am "[core]: update .app-headers to latest version"
git push origin update-app-headers --force
git push origin update-app-headers
else
echo "No changes to .app-headers detected, skipping commit."
fi
Expand Down

0 comments on commit 0d2db00

Please sign in to comment.