https://github.com/nktks/pr-pick-action
https://github.com/nktks/pr-pick-action
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nktks/pr-pick-action
- Owner: nktks
- Created: 2022-05-24T08:11:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-06T14:15:14.000Z (almost 3 years ago)
- Last Synced: 2025-01-12T18:52:11.469Z (5 months ago)
- Language: Go
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PR Pick Action
This GitHub Action helps you to pick some PRs to another branch with creating new PR.
If your project has a branch strategy, and developer needs to bring some PR's merge commit to another branch,
this action helps to create merge PR.## Inputs
see https://github.com/nktks/pr-pick-action/blob/main/action.yaml
## Usage
```
on:
workflow_dispatch:
inputs:
prs:
required: true
description: ""
to:
required: true
description: ""
base:
required: false
description: ""
default: "main"jobs:
test_job:
runs-on: ubuntu-latest
name: test workflow
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- id: foo
uses: nktks/pr-pick-action@v1
with:
to: ${{github.event.inputs.to}}
base: ${{github.event.inputs.base}}
prs: ${{github.event.inputs.prs}}
token: ${{ secrets.GITHUB_TOKEN }}
```