add ipad power and home keycodes #5177
Workflow file for this run
This file contains hidden or 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: PR Regenerate Files | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| paths: | |
| - 'data/constants/**' | |
| - 'lib/python/**' | |
| - 'quantum/rgblight/rgblight_breathe_table.h' | |
| - 'quantum/keycodes.h' | |
| - 'quantum/keymap_extras/**' | |
| jobs: | |
| regen: | |
| runs-on: ubuntu-latest | |
| container: ghcr.io/qmk/qmk_cli | |
| steps: | |
| - name: Disable safe.directory check | |
| run : git config --global --add safe.directory '*' | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| run: pip3 install -r requirements-dev.txt | |
| - name: Run qmk generators | |
| run: | | |
| util/regen.sh | |
| git diff | |
| - name: Fail when regeneration required | |
| run: | | |
| git diff | |
| for file in $(git diff --name-only); do | |
| echo "File '${file}' Requires Regeneration" | |
| echo "::error file=${file}::Requires Regeneration" | |
| done | |
| test -z "$(git diff --name-only)" |