Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dawidd6/action-checkout-pr

:gear: A GitHub Action to checkout a pull request with ability to push back
https://github.com/dawidd6/action-checkout-pr

action actions branch checkout git github github-actions pr pull pull-request

Last synced: 12 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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

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