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] Find the files ignored in .gitignore #300

Closed
2 tasks done
kunaltyagi opened this issue Jun 7, 2023 · 4 comments · Fixed by #303
Closed
2 tasks done

[Feature] Find the files ignored in .gitignore #300

kunaltyagi opened this issue Jun 7, 2023 · 4 comments · Fixed by #303
Labels
enhancement New feature or request

Comments

@kunaltyagi
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.

We have some files which are a nuisance to dev (eg: binaries) but useful for automation. We'd like to know when our ci changes those binaries but current action does not allow that

Describe the solution you'd like?

A new option:

  • include_ignored_files (or similar boolean)

Describe alternatives you've considered?

Parse git status --ignored but that's a new headache :)

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jackton1
Copy link
Member

@kunaltyagi This should now be available in the latest release via the match-ignore-files input which is enabled by default.

@kunaltyagi
Copy link
Author

Thanks a ton @jackton1

@kunaltyagi
Copy link
Author

Just a simple follow up:

| match-gitignore-files | string | true | "true" | Indicates whether to match filesin .gitignore |

What should match-gitignore-files be to not match gitignore? Would any string not equal to true work (eg: TRUE, yes, 1)?

@jackton1
Copy link
Member

jackton1 commented Jun 12, 2023

Technically any other string other than “true” but this might change in the future so I’ll suggest using “false”

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