mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
@@ -32,16 +32,16 @@ jobs:
|
|||||||
ls -R dockge || echo "dockge not created"
|
ls -R dockge || echo "dockge not created"
|
||||||
|
|
||||||
- name: Configure Git
|
- name: Configure Git
|
||||||
if: steps.check_changes.outcome != 'success'
|
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "${{ github.actor }}"
|
git config --global user.name "${{ github.actor }}"
|
||||||
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
|
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
|
||||||
|
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
if: steps.check_changes.outcome != 'success'
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
git fetch origin appstore
|
||||||
|
git rebase origin/appstore
|
||||||
git add appstore dockge || echo "No changes to add"
|
git add appstore dockge || echo "No changes to add"
|
||||||
git commit -m "Processed apps directory via GitHub Actions" || echo "Nothing to commit"
|
git diff --cached --quiet && echo "No changes to commit" || git commit -m "Processed apps directory via GitHub Actions"
|
||||||
git push origin main
|
git push origin appstore
|
||||||
|
|||||||
Reference in New Issue
Block a user