Home

Awesome

<!-- deno-fmt-ignore-start --> <div align="center"> <a href="https://wei.github.io/pull"> <img src="https://prod.download/pull-social-svg" alt="Pull App"> </a> </div> <div align="center"> <a href="https://probot.github.io"> <img src="https://badgen.net/badge/Probot/Featured/orange?icon=dependabot&cache=86400" alt="Probot Featured"> </a> <a href="https://github.com/wei/pull"> <img src="https://badgen.net/github/stars/wei/pull?label=Stars&icon=github&color=pink&cache=300" alt="GitHub Stars"> </a> </div> <div align="center"> <a href="https://github.com/apps/pull"> <img src="https://badgen.net/https/pull.git.ci/badges/repos?color=cyan&cache=600" alt="Repositories"> </a> <a href="https://github.com/apps/pull"> <img src="https://badgen.net/https/pull.git.ci/badges/installations?color=blue&cache=600" alt="Installations"> </a> <a href="https://github.com/issues?q=author:app/pull"> <img src="https://badgen.net/https/pull.git.ci/badges/triggers?color=purple&cache=600" alt="Triggered #"> </a> </div>

Introduction

Version Deno 2.0 TypeScript License

🤖 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 : )

<!-- deno-fmt-ignore-end -->

Features

Prerequisites

Getting Started

⭐ Star this project (Highly recommended, starred users may receive priority over other users)

Basic Setup

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.

Advanced Configuration (with config file)

  1. Create a new branch.

  2. Setup the new branch as default branch under repository Settings > Branches.

  3. Add .github/pull.yml to your default branch.

    Most Common

    (behaves the same as Basic Setup)

    version: "1"
    rules:
      - base: master
        upstream: wei:master # change `wei` to the owner of upstream repo
        mergeMethod: hardreset
    

    Advanced usage

    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
    
  4. Go to https://pull.git.ci/check/${owner}/${repo} to validate your .github/pull.yml.

  5. Install <img src="https://prod.download/pull-18h-svg" valign="bottom"/> Pull app.

Trigger Manually

You can manually trigger Pull by going to https://pull.git.ci/process/${owner}/${repo}.

For Upstream Repository Owners

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
  - base: docs
    upstream: owner:docs
    mergeMethod: hardreset

Contributing

See CONTRIBUTING.md

License

MIT © Wei He

Support

Can you help keep this open source service alive? 💖 Please sponsor : )


Made with ❤️ by @wei