qmk_firmware

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

regen_push.yml (1106B)


      1 name: Regenerate Files
      2 
      3 permissions:
      4   contents: write
      5 
      6 on:
      7   push:
      8     branches:
      9     - master
     10     - develop
     11 
     12 jobs:
     13   regen:
     14     runs-on: ubuntu-latest
     15 
     16     container: ghcr.io/qmk/qmk_cli
     17 
     18     steps:
     19     - name: Disable safe.directory check
     20       run : git config --global --add safe.directory '*'
     21 
     22     - uses: actions/checkout@v6
     23 
     24     - name: Install dependencies
     25       run: pip3 install -r requirements-dev.txt
     26 
     27     - name: Run qmk generators
     28       run: |
     29         util/regen.sh
     30         git diff
     31 
     32     - uses: rlespinasse/github-slug-action@v5
     33 
     34     - name: Become QMK Bot
     35       run: |
     36         git config user.name 'QMK Bot'
     37         git config user.email 'hello@qmk.fm'
     38 
     39     - name: Create Pull Request
     40       uses: peter-evans/create-pull-request@v8
     41       if: ${{ github.repository == 'qmk/qmk_firmware'}}
     42       with:
     43         token: ${{ secrets.QMK_BOT_TOKEN }}
     44         delete-branch: true
     45         branch: bugfix/regen_${{ env.GITHUB_REF_SLUG }}
     46         author: QMK Bot <hello@qmk.fm>
     47         committer: QMK Bot <hello@qmk.fm>
     48         commit-message: Regenerate Files
     49         title: '[CI] Regenerate Files'