Skip to content
chevron-up

GitHub Action

PR Auto Updater

0.0.6 Pre-release

PR Auto Updater

chevron-up

PR Auto Updater

Keep a PR head branch up-to-date

Installation

Copy and paste the following snippet into your .yml file.

              

- name: PR Auto Updater

uses: grmoon/autoupdater@0.0.6

Learn more about this action in grmoon/autoupdater

Choose a version

PR Auto Updater

Instructions

Add the autoupdate label to a PR to automatically update the head branch whenever the base branch is updated. Add the following to .github/workflows/autoupdate.yaml. That's it.

name: autoupdater
on: push
jobs:
  autoupdate:
    name: autoupdate
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: PR Auto Updater
        uses: grmoon/autoupdater@0.0.2
        env:
          # Required
          GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"