soft off #58
This file contains 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: render keymaps | |
on: | |
workflow_dispatch: # can be triggered manually | |
push: # automatically run on changes to following paths | |
paths: | |
- "config/*.keymap" | |
- "config/*.dtsi" | |
- "keymap_drawer.config.yaml" | |
- "Makefile" | |
- "config/boards/*/*/*.keymap" | |
jobs: | |
render: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: keymap images | |
shell: bash | |
run: | | |
make pipx-keymap | |
make | |
- name: git commit | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "ci(keymap): draw keymap in svg" | |
permissions: | |
contents: write |