๐ค Keep your forks up-to-date via automated PRs
See the code๐ค a GitHub App that keeps your forks up-to-date with upstream via automated pull requests.
Can you help keep this open source service alive? ๐ Please sponsor : )
.github/pull.yml configuration to accommodate different merge strategies,
including merge, squash, rebase, and hard resetโญ Star this project (Highly recommended, starred users may receive priority over other users)
Pull app will automatically watch and pull in upstream's default (master) branch to yours using hard reset periodically. You can also manually trigger it anytime.
Create a new branch.
Setup the new branch as default branch under repository Settings > Branches.
Add .github/pull.yml to your default branch.
(behaves the same as Basic Setup)
version: "1"
rules:
- base: master
upstream: wei:master # change `wei` to the owner of upstream repo
mergeMethod: hardreset
mergeUnstable: true
version: "1"
rules: # Array of rules
- base: master # Required. Target branch
upstream: wei:master # Required. Must be in the same fork network.
mergeMethod: hardreset # Optional, one of [none, merge, squash, rebase, hardreset], Default: none.
mergeUnstable: false # Optional, merge pull request even when the mergeable_state is not clean. Default: false
- base: dev
upstream: master # Required. Can be a branch in the same forked repo.
assignees: # Optional
- wei
reviewers: # Optional
- wei
conflictReviewers: # Optional, on merge conflict assign a reviewer
- wei
label: ":arrow_heading_down: pull" # Optional
conflictLabel: "merge-conflict" # Optional, on merge conflict assign a custom label, Default: merge-conflict
Go to https://pull.git.ci/check/${owner}/${repo} to validate your
.github/pull.yml.
Install
Pull app.
You can manually trigger Pull by going to
https://pull.git.ci/process/${owner}/${repo}.
For the most common use case (a single master branch), you can just direct
users to install Pull with no configurations. If you need a more advanced setup
(such as a docs branch in addition to master), consider adding
.github/pull.yml to your repository pointing to yourself (see example). This
will allow forks to install Pull and stay updated automatically.
Example (assuming owner is your user or organization name):
version: "1"
rules:
- base: master
upstream: owner:master
mergeMethod: hardreset
mergeUnstable: true
- base: docs
upstream: owner:docs
mergeMethod: hardreset
mergeUnstable: true
See CONTRIBUTING.md
Can you help keep this open source service alive? ๐ Please sponsor : )
Made with โค๏ธ by @wei
(top 24 of 116)
594 followers ยท starred Jul 2023
1,283 followers ยท starred Oct 2018
402 followers ยท starred Jun 2018
169 followers ยท starred Oct 2020
๐ค Keep your forks up-to-date via automated PRs
See the code๐ค a GitHub App that keeps your forks up-to-date with upstream via automated pull requests.
Can you help keep this open source service alive? ๐ Please sponsor : )
.github/pull.yml configuration to accommodate different merge strategies,
including merge, squash, rebase, and hard resetโญ Star this project (Highly recommended, starred users may receive priority over other users)
Pull app will automatically watch and pull in upstream's default (master) branch to yours using hard reset periodically. You can also manually trigger it anytime.
Create a new branch.
Setup the new branch as default branch under repository Settings > Branches.
Add .github/pull.yml to your default branch.
(behaves the same as Basic Setup)
version: "1"
rules:
- base: master
upstream: wei:master # change `wei` to the owner of upstream repo
mergeMethod: hardreset
mergeUnstable: true
version: "1"
rules: # Array of rules
- base: master # Required. Target branch
upstream: wei:master # Required. Must be in the same fork network.
mergeMethod: hardreset # Optional, one of [none, merge, squash, rebase, hardreset], Default: none.
mergeUnstable: false # Optional, merge pull request even when the mergeable_state is not clean. Default: false
- base: dev
upstream: master # Required. Can be a branch in the same forked repo.
assignees: # Optional
- wei
reviewers: # Optional
- wei
conflictReviewers: # Optional, on merge conflict assign a reviewer
- wei
label: ":arrow_heading_down: pull" # Optional
conflictLabel: "merge-conflict" # Optional, on merge conflict assign a custom label, Default: merge-conflict
Go to https://pull.git.ci/check/${owner}/${repo} to validate your
.github/pull.yml.
Install
Pull app.
You can manually trigger Pull by going to
https://pull.git.ci/process/${owner}/${repo}.
For the most common use case (a single master branch), you can just direct
users to install Pull with no configurations. If you need a more advanced setup
(such as a docs branch in addition to master), consider adding
.github/pull.yml to your repository pointing to yourself (see example). This
will allow forks to install Pull and stay updated automatically.
Example (assuming owner is your user or organization name):
version: "1"
rules:
- base: master
upstream: owner:master
mergeMethod: hardreset
mergeUnstable: true
- base: docs
upstream: owner:docs
mergeMethod: hardreset
mergeUnstable: true
See CONTRIBUTING.md
Can you help keep this open source service alive? ๐ Please sponsor : )
Made with โค๏ธ by @wei
(top 24 of 116)
594 followers ยท starred Jul 2023
1,283 followers ยท starred Oct 2018
402 followers ยท starred Jun 2018
169 followers ยท starred Oct 2020