Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add inputs for regex, files, after_context, before_context, context #86

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

spetrosi
Copy link

@spetrosi spetrosi commented Feb 5, 2025

Adding some missing parameters from CLI and config file to GH action.

@spetrosi spetrosi changed the title Add regex input Add regex and files inputs Feb 5, 2025
Copy link
Collaborator

@peternewman peternewman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some copy/paste errors to address...

fi
echo "Files or directories to check: '${INPUT_SKIP}'"
if [ "x${INPUT_FILES}" != "x" ]; then
command_args="${command_args} --regex ${INPUT_FILES}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which argument are you trying to populate here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[spetrosi@fedora network]$ codespell --help | grep "\--regex" -A5
  -r REGEX, --regex REGEX
                        regular expression that is used to find words. By
                        default any alphanumeric character, the underscore,
                        the hyphen, and the apostrophe are used to build
                        words. This option cannot be specified together with
                        --write-changes.

@spetrosi spetrosi changed the title Add regex and files inputs Add inputs for regex, files, after_context, before_context, context Feb 6, 2025
@spetrosi spetrosi requested a review from peternewman February 7, 2025 11:54
@spetrosi
Copy link
Author

@peternewman any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants