Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/winebarrel/pru-action

GitHub action for pru.
https://github.com/winebarrel/pru-action

actions github

Last synced: about 1 month ago
JSON representation

GitHub action for pru.

Awesome Lists containing this project

README

        

# pru-action

GitHub action for [pru](https://github.com/winebarrel/pru).

pru is a tool that updates pull requests branch from the base branch that contains specified files.

```mermaid
gitGraph
commit
commit
branch pr/foo
commit
commit
commit
checkout main
branch pr/bar
commit
commit
commit
checkout main
merge pr/foo tag:"merge pull request"
commit
checkout pr/bar
merge main tag:"auto update by pru"
checkout main
commit
```

## Usage

```yaml
name: pru
on:
push:
branches:
- main
paths:
- "**/*.go"
- Makefile
permissions:
contents: write
pull-requests: write
jobs:
pru:
name: pru
runs-on: ubuntu-latest
steps:
- uses: winebarrel/[email protected]
with:
# version: v0.4.1
# repo: owner/repo
# github-token: ***
# bases: main,master
# ignore-labels: foo,bar,zoo
paths: |
**/*.go
Makefile
```

## Example

see https://github.com/winebarrel/pru-example