-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters