Skip to content

Commit

Permalink
Add a README
Browse files Browse the repository at this point in the history
  • Loading branch information
rtimush committed Mar 8, 2020
1 parent d79f293 commit e3ac3e9
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Tenpureto propagate-changes GitHub Action

This action helps with [tenpureto](https://tenpureto.org/) templates maintenance by making sure template changes are propagated between branches.
Whenever a new change is pushed to a branch, the action will create pull-requests with the change to the child template branches.

## Inputs

### `pull-request-label`

**Optional** A label to assign to the pull requests created by the action. This may be useful by itself, or if you want to auto-merge these pull requests.

## Outputs

## Example usage

```yaml
name: Propagate template changes

on: [push]

jobs:
propagate:
name: Propagate template changes
# Most likely you don't want to run this action on the template forks
if: github.repository == 'my/repository'
runs-on: ubuntu-latest
steps:
- uses: tenpureto/propagate-changes-action@v1
with:
pull-request-label: pr:propagating-changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Tenpureto
description: Propagate template changes to child branches
description: Keep tenpureto template branches in sync
inputs:
pull-request-label:
description: Labels to assign to the created pull requests
Expand Down

0 comments on commit e3ac3e9

Please sign in to comment.