diff --git a/.github/workflows/git-broadcast.yml b/.github/workflows/git-broadcast.yml new file mode 100644 index 00000000..23b3bcb4 --- /dev/null +++ b/.github/workflows/git-broadcast.yml @@ -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 diff --git a/src/log4net.sln b/src/log4net.sln index 7e7716ab..c1093610 100644 --- a/src/log4net.sln +++ b/src/log4net.sln @@ -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 @@ -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