Update process-apps.yml

This commit is contained in:
新疆萌森软件开发工作室 2024-11-28 23:38:45 +08:00 committed by GitHub
parent 51143730c1
commit f712f51108
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,7 +44,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git fetch origin custom
git rebase origin/custom
git add .
git diff --cached --quiet && echo "No changes to commit" || git commit -m "Processed apps directory via GitHub Actions"
git diff --cached --quiet || git commit -m "Processed apps directory via GitHub Actions"
git rebase origin/custom || { echo "Rebase failed, trying to resolve"; git rebase --abort; git pull --rebase origin custom; }
git push origin custom