Skip to content

Commit 57d91c1

Browse files
committed
feat: add if statement in sync workflow
1 parent 4f05440 commit 57d91c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/sync.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
jobs:
88
sync:
99
runs-on: ubuntu-latest
10+
if: github.repository == 'doocs/leetcode'
1011
steps:
1112
- name: Sync to gitee.com
1213
uses: wearerequired/git-mirror-action@master

0 commit comments

Comments
 (0)