Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/winebarrel/pru-action
- Owner: winebarrel
- License: mit
- Created: 2023-01-15T00:31:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-07T09:15:37.000Z (about 1 month ago)
- Last Synced: 2024-10-08T10:17:57.944Z (about 1 month ago)
- Topics: actions, github
- Language: TypeScript
- Homepage:
- Size: 1.31 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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