diff --git a/.github/workflows/draw-zmk.yml b/.github/workflows/draw-zmk.yml index a67def3..3eb2667 100644 --- a/.github/workflows/draw-zmk.yml +++ b/.github/workflows/draw-zmk.yml @@ -48,8 +48,6 @@ on: jobs: draw: runs-on: ubuntu-latest - permissions: - contents: write steps: - name: Checkout diff --git a/README.md b/README.md index 9132b06..04dde3c 100644 --- a/README.md +++ b/README.md @@ -197,6 +197,8 @@ on: 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 exists