Skip to content

GitHub Action to propagate template changes to child branches

License

Notifications You must be signed in to change notification settings

tenpureto/propagate-changes-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tenpureto propagate-changes GitHub Action

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.

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

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 }}