Update generate-app-headers.yaml

This commit is contained in:
CanbiZ 2025-01-10 12:15:52 +01:00 committed by GitHub
parent 6fc78dca57
commit 10927e39ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,11 +42,11 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add misc/.app-headers
git commit -m "[core]: update .app-headers to latest version"
# Check if there are changes to commit
git diff --quiet || git commit -am "[core]: update .app-headers to latest version"
# Push changes to the branch
git push origin update-app-headers --force
# Push changes to the branch only if there are changes
git push origin update-app-headers --force || echo "No changes to push"
- name: Create pull request
id: create-pr