Skip to content

PR updater

Actions
Keep your pull requests up to date with base branch
v1.0.0
Latest
Star (15)

PR Updater

Quick start

  1. Create user token in user settings

  2. Set this token as a secret USER_TOKEN in settings of a target repository: https://github.com/<owner>/<repo>/settings/secrets

  3. create file .github/workflows/pr-updater.yml with the following content:

    name: PR update
    
    on:
        push:
            branches: 
                - master
    
    jobs:
        autoupdate:
            runs-on: ubuntu-latest
            steps:
            - uses: actions/checkout@v1
            - name: update all prs
                uses: maxkomarychev/pr-updater-action@v1.0.0
                with:
                    token: ${{ secrets.USER_TOKEN }}
  4. Now every time code is pushed to branches specified in the workflow all ohter pull requests targeting these branches will be automatically updated.

Current limitations

  1. Due to rate limiting user token can only perform 5000 requests per hour
  2. The action currently does not implement paging, so it can only update up to 100 pull requests in one run

PR updater is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Keep your pull requests up to date with base branch
v1.0.0
Latest

PR updater is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.