logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

feature_branch_update.yml (904B)


  1. name: Update feature branches after develop merge
  2. permissions:
  3. contents: write
  4. on:
  5. push:
  6. branches:
  7. - develop
  8. jobs:
  9. feature_branch_update:
  10. runs-on: ubuntu-latest
  11. if: github.repository == 'qmk/qmk_firmware'
  12. strategy:
  13. matrix:
  14. branch:
  15. - xap
  16. - riot
  17. steps:
  18. - uses: actions/checkout@v4
  19. with:
  20. token: ${{ secrets.QMK_BOT_TOKEN }}
  21. fetch-depth: 0
  22. - name: Disable automatic eol conversion
  23. run: |
  24. echo "* -text" > .git/info/attributes
  25. - name: Checkout branch
  26. run: |
  27. git fetch origin develop ${{ matrix.branch }}
  28. git checkout ${{ matrix.branch }}
  29. - name: Update branch from develop
  30. run: |
  31. git config --global user.name "QMK Bot"
  32. git config --global user.email "hello@qmk.fm"
  33. git merge origin/develop
  34. git push origin ${{ matrix.branch }}