mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-19 03:58:07 +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
|
echo "$(figlet $APP_NAME)" >> .app-headers
|
||||||
done
|
done
|
||||||
|
|
||||||
# Step 7: Check if there are changes to commit
|
# Step 7: Check for changes and commit
|
||||||
- name: Check for changes and commit
|
- name: Check for changes and commit
|
||||||
run: |
|
run: |
|
||||||
git diff --exit-code --quiet .app-headers
|
git diff --exit-code --quiet .app-headers
|
||||||
if [ $? -eq 1 ]; then
|
if [ $? -eq 1 ]; then
|
||||||
echo ".app-headers has been updated, committing changes."
|
echo ".app-headers has been updated, committing changes."
|
||||||
git commit -am "[core]: update .app-headers to latest version"
|
git commit -am "[core]: update .app-headers to latest version"
|
||||||
git push origin update-app-headers --force
|
git push origin update-app-headers
|
||||||
else
|
else
|
||||||
echo "No changes to .app-headers detected, skipping commit."
|
echo "No changes to .app-headers detected, skipping commit."
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user