forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #747 from yorunning/ci-prompt
ci(sync): add an error prompt
This commit is contained in:
commit
3f34731adf
7
.github/workflows/sync.yml
vendored
7
.github/workflows/sync.yml
vendored
@ -31,3 +31,10 @@ jobs:
|
|||||||
|
|
||||||
# Set test_mode true to run tests instead of the true action!!
|
# Set test_mode true to run tests instead of the true action!!
|
||||||
test_mode: false
|
test_mode: false
|
||||||
|
|
||||||
|
- name: Sync check
|
||||||
|
if: failure()
|
||||||
|
run: |
|
||||||
|
echo "::error::由于权限不足,导致同步失败(这是预期的行为),请前往仓库首页手动执行[Sync fork]。"
|
||||||
|
echo "::error::Due to insufficient permissions, synchronization failed (as expected). Please go to the repository homepage and manually perform [Sync fork]."
|
||||||
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user