0.46.0 • Published 8 months ago

git-broadcast v0.46.0

Weekly downloads
516
License
BSD-3-Clause
Repository
github
Last release
8 months ago

git-broadcast

Utility to merge outwards from one branch to all others, where cleanly possible

⚗️ This is a young project, but it's working for me. YMMV.

See the example workflow file to have your master branch merged out to satellite branches whenever it's updated or satellites are updated (just in case a prior run had failed but now could be completed):

Note that the following uses (and pipes through) slack-webhook-say to provide real-time(-ish) feedback in a slack channel.

name: Broadcast master updates to satellites

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  main:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-node@v2-beta
      with:
        node-version: '12'
    - name: broadcast master changes to satellite branches
      env:
        SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
        RUN_NUMBER: ${{ github.run_number }}
      run: |
        git config --global user.name "Git Broadcast"
        git config --global user.email "git-broadcast@no-reply.com"
        npx slack-webhook-say -m "Starting Git-Broadcast run #$RUN_NUMBER on $GITHUB_REPOSITORY"
        npx git-broadcast@latest --from master --push --pretty --suppress-log-prefixes --prefix-logs-with $GITHUB_REPOSITORY | npx slack-webhook-say --echo
        npx slack-webhook-say -m "Git-Broadcust run #$RUN_NUMBER on $GITHUB_REPOSITORY completed"
0.46.0

8 months ago

0.45.6

8 months ago

0.45.7

8 months ago

0.45.5

1 year ago

0.45.3

1 year ago

0.45.4

1 year ago

0.45.1

1 year ago

0.45.2

1 year ago

0.45.0

3 years ago

0.42.0

4 years ago

0.43.0

4 years ago

0.40.0

4 years ago

0.41.0

4 years ago

0.39.0

4 years ago

0.38.0

4 years ago

0.37.0

4 years ago

0.36.0

4 years ago

0.35.0

4 years ago

0.34.1

4 years ago

0.44.0

4 years ago

0.34.0

4 years ago

0.33.0

4 years ago

0.32.0

4 years ago

0.31.0

4 years ago

0.30.0

4 years ago

0.29.0

4 years ago

0.28.0

4 years ago

0.27.0

4 years ago

0.26.0

4 years ago

0.25.0

4 years ago

0.24.0

4 years ago

0.23.0

4 years ago

0.22.0

4 years ago

0.21.0

4 years ago

0.20.0

4 years ago

0.19.0

4 years ago

0.18.0

5 years ago

0.15.0

5 years ago

0.16.0

5 years ago

0.17.0

5 years ago

0.13.0

5 years ago

0.14.0

5 years ago

0.12.0

5 years ago

0.11.0

5 years ago

0.10.0

5 years ago

0.9.0

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.3.0

5 years ago

0.4.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago