This action helps with tenpureto 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.
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.
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 }}