Skip to content

Commit

Permalink
build: branch sync workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Wouter Termont <[email protected]>
  • Loading branch information
woutermont committed Dec 5, 2024
1 parent 611e2c5 commit ba40d87
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/forward-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

##
# This workflow merges every change in main also into the levelX branches.
#
# An alternative might be to write it out manually
# (e.g. as in auto-pull-request-creator, or with peter-evans/create-pull-request).
##

name: Forward merge main to levels

on:
push:
branches: [ main ]
workflow_dispatch: # for testing

jobs:
forward-merge:
runs-on: ubuntu-latest
steps:
- uses: NicholasBoll/[email protected]
with:
token: ${{secrets.GITHUB_TOKEN}}
branches: main+level0 #, main + level1 #, main + level2
prefix: 'chore: '

0 comments on commit ba40d87

Please sign in to comment.