We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85cfd3c commit 2afecc5Copy full SHA for 2afecc5
1 file changed
.github/workflows/sync.yml
@@ -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