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 9fcde38
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+30-30Lines changed: 30 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,36 +88,36 @@ Pull app will automatically watch and pull in upstream's default (master) branch
88
88
2. Setup the new branch as default branch under repository Settings > Branches.
89
89
3. Add `.github/pull.yml` to your default branch.
90
90
91
-
#### Most Common
92
-
(behaves the same as Basic Setup)
93
-
```yaml
94
-
version: "1"
95
-
rules:
96
-
- base: master
97
-
upstream: wei:master # change `wei` to the owner of upstream repo
98
-
mergeMethod: hardreset
99
-
```
100
-
101
-
#### Advanced usage
102
-
```yaml
103
-
version: "1"
104
-
rules: # Array of rules
105
-
- base: master # Required. Target branch
106
-
upstream: wei:master # Required. Must be in the same fork network.
107
-
mergeMethod: hardreset # Optional, one of [none, merge, squash, rebase, hardreset], Default: none.
108
-
mergeUnstable: false # Optional, merge pull request even when the mergeable_state is not clean. Default: false
109
-
- base: dev
110
-
upstream: master # Required. Can be a branch in the same forked repo.
111
-
assignees: # Optional
112
-
- wei
113
-
reviewers: # Optional
114
-
- wei
115
-
conflictReviewers: # Optional, on merge conflict assign a reviewer
116
-
- wei
117
-
label: ":arrow_heading_down: pull"# Optional
118
-
```
119
-
120
-
4. Go to `https://pull.git.ci/check/${owner}/${repo}` to validate your `.github/pull.yml` (Public repos only).
91
+
#### Most Common
92
+
(behaves the same as Basic Setup)
93
+
```yaml
94
+
version: "1"
95
+
rules:
96
+
- base: master
97
+
upstream: wei:master # change `wei` to the owner of upstream repo
98
+
mergeMethod: hardreset
99
+
```
100
+
101
+
#### Advanced usage
102
+
```yaml
103
+
version: "1"
104
+
rules: # Array of rules
105
+
- base: master # Required. Target branch
106
+
upstream: wei:master # Required. Must be in the same fork network.
107
+
mergeMethod: hardreset # Optional, one of [none, merge, squash, rebase, hardreset], Default: none.
108
+
mergeUnstable: false # Optional, merge pull request even when the mergeable_state is not clean. Default: false
109
+
- base: dev
110
+
upstream: master # Required. Can be a branch in the same forked repo.
111
+
assignees: # Optional
112
+
- wei
113
+
reviewers: # Optional
114
+
- wei
115
+
conflictReviewers: # Optional, on merge conflict assign a reviewer
116
+
- wei
117
+
label: ":arrow_heading_down: pull"# Optional
118
+
```
119
+
120
+
4. Go to `https://pull.git.ci/check/${owner}/${repo}` to validate your `.github/pull.yml` (Public repos only). See [#234](https://github.com/wei/pull/issues/234) for another way to validate it.
0 commit comments