Skip to content

Commit c607c6f

Browse files
authored
Merge pull request #17 from codeit-maso/feature/chan
🔧 chore: GitHub Actions 워크플로우 추가 - 포크 자동 동기화
2 parents 84aefb4 + deb6da6 commit c607c6f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/sync-fork.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Sync Fork
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
sync-fork:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Push to fork
18+
uses: ad-m/github-push-action@master
19+
with:
20+
github_token: ${{ secrets.FORK_TOKEN }}
21+
repository: LeeCh0129/Rolling
22+
branch: ${{ github.ref_name }}
23+
force: false

0 commit comments

Comments
 (0)