You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5dc1483
Browse filesBrowse the repository at this point in the historyBrowse files
> a GitHub App built with [probot](https://github.com/probot/probot) that keeps your repository up-to-date with upstream changes via automatic pull requests.
14
+
> 🤖 a GitHub App built with [probot](https://github.com/probot/probot) that keeps your repository up-to-date with upstream changes via automated pull requests.
15
15
16
16
17
17
## Features
18
18
19
-
1. A pull request is created when a specified upstream is updated (checking periodically).
20
-
2. The pull request can be automatically merged.
19
+
1. A pull request is created when an upstream is updated (checks hourly).
20
+
2. Pull requests can be automatically merged or hard reset to match upstream.
21
+
21
22
_Upstream must be in the same fork network_
22
23
24
+
23
25
## Setup
24
26
25
27
Recommended setup:
@@ -28,26 +30,40 @@ Recommended setup:
28
30
3. Setup the new branch as Default branch under repository Settings > Branches
29
31
4. Add `.github/sync-up.yml` to your default branch.
30
32
33
+
Most common `sync-up.xml`:
34
+
```yaml
35
+
version: "1"
36
+
rules:
37
+
- head: master
38
+
upstream: wei:master
39
+
autoMerge: true
40
+
autoMergeHardReset: true
41
+
```
42
+
43
+
Explained:
31
44
```yaml
32
45
version: "1"
33
-
rules: # Array of branches to sync
34
-
master:
35
-
upstream: wei:master # Required. Must be in the same fork network
36
-
autoMerge: true # Optional, Default: false
37
-
autoMergeHardReset: true # Optional, Default: false. Dangerous!! Remove merge commits along with any changes to the specified branch
38
-
dev:
46
+
rules: # Array of branches to sync
47
+
- head: master # Required. Target local branch
48
+
upstream: wei:master # Required. Must be in the same fork network.
49
+
autoMerge: true # Optional, Default: false
50
+
autoMergeHardReset: true # Optional, Default: false DESTRUCTIVE!! Remove merge commits along with any changes to the target local branch
51
+
- head: dev
39
52
upstream: master
53
+
assignees: # Optional
54
+
- wei
55
+
reviewers: # Optional
56
+
- wei
40
57
label: "sync-up :arrow_up_down:"# Optional
41
-
assignees: # Optional
42
-
- wei
43
-
reviewers: # Optional
44
-
- wei
45
58
```
46
59
47
-
5. Install Sync Up app via https://github.com/apps/sync-up and select only the repos you wish to sync up.
60
+
5. Go to `https://sync-up.now.sh/check/:owner/:repo` to validate your `sync-up.yml`.
61
+
6. Install Sync Up app via https://github.com/apps/sync-up and select only the repos you wish to sync up.
0 commit comments