Skip to content

Commit

Permalink
🔧 enable automatic broadcast of changes in master to outstanding sate…
Browse files Browse the repository at this point in the history
…llite branches
  • Loading branch information
fluffynuts committed Mar 11, 2024
1 parent 95104eb commit a649e8f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/git-broadcast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Broadcast master updates to satellites

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

concurrency:
group: git-broadcast

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '16'
- name: broadcast master changes to satellite branches
env:
RUN_NUMBER: ${{ github.run_number }}
run: |
git config --global user.name "Git Broadcast"
git config --global user.email "git-broadcast@no-reply.com"
npx git-broadcast@latest --from master --push --pretty --suppress-log-prefixes --prefix-logs-with $GITHUB_REPOSITORY | npx slack-webhook-say --echo
8 changes: 8 additions & 0 deletions src/log4net.sln
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".config", ".config", "{78CD
..\pom.xml = ..\pom.xml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{3EE6A25B-2DF9-4825-A784-EE32EEA0BE58}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{92B16708-35B8-4E60-AF44-CF6D797FB63B}"
ProjectSection(SolutionItems) = preProject
..\.github\workflows\git-broadcast.yml = ..\.github\workflows\git-broadcast.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -89,5 +96,6 @@ Global
{D818035F-0345-49EF-9AB9-021583986CE2} = {8953473C-EEE8-4740-993D-B8E10FA876CD}
{169118A6-CAC3-4E83-ABEE-9E884B75B294} = {8953473C-EEE8-4740-993D-B8E10FA876CD}
{A4F9E417-2250-4075-9118-B4FF1C58B6C5} = {8953473C-EEE8-4740-993D-B8E10FA876CD}
{92B16708-35B8-4E60-AF44-CF6D797FB63B} = {3EE6A25B-2DF9-4825-A784-EE32EEA0BE58}
EndGlobalSection
EndGlobal

0 comments on commit a649e8f

Please sign in to comment.