add lintilla #1
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: Draw ZMK 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" | |
jobs: | |
draw: | |
uses: caksoylar/keymap-drawer/.github/workflows/draw-zmk.yml@main | |
permissions: | |
contents: write # allow workflow to commit to the repo | |
with: | |
keymap_patterns: "config/*.keymap" # path to the keymaps to parse | |
config_path: "keymap_drawer.config.yaml" # config file, ignored if not found | |
output_folder: "images" # path to save produced SVG and keymap YAML files | |
parse_args: "" # map of extra args to pass to `keymap parse` | |
draw_args: "" # map of extra args to pass to `keymap draw` |