/action-checkout-pr

:gear: A GitHub Action to checkout a pull request with ability to push back

Primary LanguageJavaScriptMIT LicenseMIT

Checkout PR Github Action

An action that fetches and checks out a pull request branch leaving an ability to push made changes back to it, using provided token for the push.

It's basically hub pr checkout command, but as an Action.

This Action is meant to be used with actions/checkout.

Usage

- name: Checkout repo
  uses: actions/checkout@v2
  with:
    token: ${{secrets.TOKEN}}
- name: Checkout PR
  uses: dawidd6/action-checkout-pr@v1
  with:
    pr: 99