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

[Feature] Make it easier to exclude files #265

Closed
2 tasks done
solarmosaic-kflorence opened this issue Nov 29, 2021 · 1 comment · Fixed by #304
Closed
2 tasks done

[Feature] Make it easier to exclude files #265

solarmosaic-kflorence opened this issue Nov 29, 2021 · 1 comment · Fixed by #304
Labels
enhancement New feature or request

Comments

@solarmosaic-kflorence
Copy link

Is this feature missing in the latest version?

  • I'm using the latest release

Is your feature request related to a problem? Please describe.

Right now files can be used to easily match files, essentially an "allow" list. For example, you can match any file which begins with a path, like ^path/to/directory. However, it's not easy to exclude files. For example, if I wanted to match on all files in the path/to/directory except files which end with .md.

Describe the solution you'd like?

It may be easiest to accept another input, such as exclude-files, which will simply be negated versions of the provided GREP regular expressions. For example, to exclude all files ending with .md you could do exclude-files: \.md$

Describe alternatives you've considered?

See also: #264 -- which if implemented could invalidate this ticket.

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@solarmosaic-kflorence solarmosaic-kflorence added the enhancement New feature or request label Nov 29, 2021
jackton1 added a commit that referenced this issue Jan 5, 2022
* Add support for using github's glob pattern syntax

Fixes: #264 #265

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update action.yml

* Update action.yml

* Update action.yml

* Update action.yml

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update action.yml

* Update test.yml

* Update changed-files-list.txt

* Update changed-files-list.txt

* Update action.yml

* Update action.yml

* Update entrypoint.sh

* Update test.yml

* Update README.md

* Update test.yml

* Update entrypoint.sh

* Update test.yml

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@jackton1
Copy link
Member

jackton1 commented Jan 5, 2022

@solarmosaic-kflorence This should now be available in the latest release. Thanks

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

Successfully merging a pull request may close this issue.

2 participants