Merge pull request #133 from MikroElektronika/new-feature/mcus/12 #9
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
name: Merge Main To Release Branches | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main # This will trigger on every push (merge) to the 'main' branch | |
jobs: | |
merge_master_to_branches: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Add GitHub Actions credentials | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
- name: Merge main to new-feature branches | |
run: | | |
python -u scripts/merge_master_to_branches.py |