From 36fe0b9c1113faf5da02188e9364552f0887cd71 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 27 Apr 2024 17:54:33 +0200 Subject: [PATCH] Add Typos to spelling (#80) --- action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/action.yml b/action.yml index 34b022f0..6e018738 100644 --- a/action.yml +++ b/action.yml @@ -138,6 +138,12 @@ runs: --skip "*.pt,*.pth,*.torchscript,*.onnx,*.tflite,*.pb,*.bin,*.param,*.mlmodel,*.engine,*.npy,*.data*,*.csv,*pnnx*,*venv*,*translat*,__pycache__*,*.ico,*.jpg,*.png,*.mp4,*.mov,/runs,/.git,./docs/??/*.md,./docs/mkdocs_??.yml" shell: bash continue-on-error: true + - name: Run Typos + if: inputs.spelling == 'true' && github.event.action != 'closed' + uses: crate-ci/typos@v1.20.10 + with: + write_changes: true + continue-on-error: true # Commit Changes --------------------------------------------------------------------------------------------------- - name: Commit and Push Changes