mirror of
https://gitlink.org.cn/pooneyy/1Panel-Appstore.git
synced 2026-04-24 10:41:42 +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
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
ref: ${{ github.event.repository.default_branch }}
|
||||||
|
|
||||||
- name: 检测默认分支
|
- name: 检测默认分支
|
||||||
run: |
|
run: |
|
||||||
@ -114,6 +115,7 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
ref: ${{ github.event.repository.default_branch }}
|
||||||
|
|
||||||
- name: 检测默认分支
|
- name: 检测默认分支
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user