Skip to content

Commit 580ae61

Browse files
authored
Create repo-sync.yml
1 parent 9dba5f2 commit 580ae61

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/repo-sync.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
jobs:
7+
repo-sync:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
with:
12+
persist-credentials: false
13+
14+
- name: repo-sync
15+
uses: repo-sync/github-sync@v2
16+
with:
17+
source_repo: "CodeitFESI4-Team1/Team-1-Codeit" # 동기화할 업스트림 리포지토리
18+
source_branch: "main" # 업스트림의 동기화할 브랜치
19+
destination_branch: "main" # 현재 리포지토리의 동기화할 브랜치
20+
github_token: ${{ secrets.PAT }}

0 commit comments

Comments
 (0)