Skip to content

Commit

Permalink
Merge pull request #747 from yorunning/ci-prompt
Browse files Browse the repository at this point in the history
ci(sync): add an error prompt
  • Loading branch information
Yidadaa authored Apr 12, 2023
2 parents 9146b98 + e12ea69 commit 3f34731
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ jobs:

# Set test_mode true to run tests instead of the true action!!
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

0 comments on commit 3f34731

Please sign in to comment.