Skip to content

Generated --skip flag syntax doesn't align with codespell docs #96

@wbkboyer

Description

@wbkboyer

Looking at the logs for the failed run of a very simple spelling.yml workflow file:

name: Spelling
on: [pull_request, workflow_dispatch]

jobs:
  codespell:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: codespell-project/actions-codespell@v2
        with:
          skip: c/samples

I see:

Running codespell on '' with the following options...
...
Skipping 'c/samples'
...
Resulting CLI options  --skip c/samples

And so the job chokes on files under c/samples. Looking at the codespell repo, it seems like the flag should actually be --skip="c/samples", not --skip c/samples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions