Skip to content

Draw ZMK keymaps

Draw ZMK keymaps #1

Workflow file for this run

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"
# - 'config/boards/*/*/*.keymap'
jobs:
draw:

Check failure on line 12 in .github/workflows/draw-keymaps.yml

View workflow run for this annotation

GitHub Actions / Draw ZMK keymaps

Invalid workflow file

The workflow is not valid. .github/workflows/draw-keymaps.yml (Line: 12, Col: 3): Error calling workflow 'caksoylar/keymap-drawer/.github/workflows/draw-zmk.yml@main'. The nested job 'draw' is requesting 'contents: write', but is only allowed 'contents: read'.
uses: caksoylar/keymap-drawer/.github/workflows/draw-zmk.yml@main
with:
keymap_patterns: "config/*.keymap" # path to the keymaps to parse
config_path: "keymap_drawer.config.yaml" # config file, ignored if not exists
output_folder: "keymap-drawer" # path to save produced SVG and keymap YAML files
parse_args: "" # map of extra args to pass to `keymap parse`, e.g. "corne:'-l Def Lwr Rse' cradio:''"
draw_args: "" # map of extra args to pass to `keymap draw`, e.g. "corne:'-k corne_rotated' cradio:'-k paroxysm'"