mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-10 19:05:09 +00:00
Update generate-app-headers.yaml
This commit is contained in:
parent
1a9320ced8
commit
0d2db00dc6
4
.github/workflows/generate-app-headers.yaml
vendored
4
.github/workflows/generate-app-headers.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user