louy/Maintain One Pull Request
Maintain a single pull request given a set of head/base branches
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| head_ref | Branch with changes to be merged into base | yes | — |
| base_ref | Base branch to receive the changes from head | yes | ${{ github.ref_name || 'main' }} |
| pr_title | Title for the created/updated pull request. Also usually used as merged commit message | yes | — |
| pr_body | Body for the created/updated pull request | yes | "" |
| delete | Whether to close a PR if it is open. Set to `true` to do so | — | — |
| labels | Comma separated list of labels to add to PR | no | — |
Outputs
| name | description |
|---|---|
| number | Pull request number, empty when no PR is created or when `delete: true`` |