Update auto-update-app-headers.yml

This commit is contained in:
CanbiZ 2025-01-14 14:54:00 +01:00 committed by GitHub
parent 7ab5485fc3
commit 78ed820bb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,6 +30,7 @@ jobs:
git checkout main
git pull origin main
BRANCH_NAME="update-app-headers-$(date +'%Y-%m-%d-%H-%M-%S')"
echo "Branch name: $BRANCH_NAME" # Debugging
git checkout -b "$BRANCH_NAME"
echo "Created and switched to branch $BRANCH_NAME"
@ -47,6 +48,7 @@ jobs:
# Step 5: Push changes to the new branch
- name: Push changes to the new branch
run: |
echo "Pushing changes to branch $BRANCH_NAME" # Debugging
git add ./misc/.app-headers
git commit -m "Update .app-headers file"
git push origin "$BRANCH_NAME"