Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dawidd6/action-checkout-pr
- Owner: dawidd6
- License: mit
- Archived: true
- Created: 2020-03-23T14:28:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-12T15:39:59.000Z (almost 4 years ago)
- Last Synced: 2024-10-14T07:06:25.747Z (29 days ago)
- Topics: action, actions, branch, checkout, git, github, github-actions, pr, pull, pull-request
- Language: JavaScript
- Homepage:
- Size: 1.34 MB
- Stars: 5
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```