build: branch sync workflow #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# 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: ' |