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:
parent
59f4eb3dc0
commit
91141bfba5
2
.github/workflows/sync-auto.yml
vendored
2
.github/workflows/sync-auto.yml
vendored
@ -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: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user