1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-04-09 08:12:31 +08:00

ci(sync-auto): update sync workflow to checkout default branch

- add explicit ref parameter to checkout action for clarity and reliability
- ensure workflow always checks out the repository's default branch
This commit is contained in:
pooneyy 2026-04-01 22:23:12 +08:00
parent 59f4eb3dc0
commit 91141bfba5
No known key found for this signature in database

View File

@ -45,6 +45,7 @@ jobs:
uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.event.repository.default_branch }}
- name: 检测默认分支
run: |
@ -114,6 +115,7 @@ jobs:
uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.event.repository.default_branch }}
- name: 检测默认分支
run: |