You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
752 B

  1. name: Update feature branches after develop merge
  2. on:
  3. push:
  4. branches:
  5. - develop
  6. jobs:
  7. feature_branch_update:
  8. runs-on: ubuntu-latest
  9. if: github.repository == 'qmk/qmk_firmware'
  10. strategy:
  11. matrix:
  12. branch:
  13. - xap
  14. steps:
  15. - uses: actions/checkout@v3
  16. with:
  17. token: ${{ secrets.QMK_BOT_TOKEN }}
  18. fetch-depth: 0
  19. - name: Checkout branch
  20. run: |
  21. git fetch origin develop ${{ matrix.branch }}
  22. git checkout ${{ matrix.branch }}
  23. - name: Update branch from develop
  24. run: |
  25. git config --global user.name "QMK Bot"
  26. git config --global user.email "hello@qmk.fm"
  27. git merge origin/develop
  28. git push origin ${{ matrix.branch }}