qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

feature_branch_update.yml (904B)


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