Skip to content

Commit 2afecc5

Browse files
committed
Sync cpp to main
1 parent 85cfd3c commit 2afecc5

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/sync.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Sync cpp to main
2+
3+
on:
4+
push:
5+
branches:
6+
- cpp
7+
8+
jobs:
9+
sync:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
15+
16+
- name: Merge cpp into main
17+
run: |
18+
git config user.name "github-actions"
19+
git config user.email "actions@github.com"
20+
git checkout main
21+
git merge origin/cpp --no-edit
22+
git push origin main

0 commit comments

Comments
 (0)