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

ignore untracked #2883

Closed
mbrevda opened this issue Apr 30, 2024 · 2 comments
Closed

ignore untracked #2883

mbrevda opened this issue Apr 30, 2024 · 2 comments

Comments

@mbrevda
Copy link

mbrevda commented Apr 30, 2024

Is there any way to ignore untracked files? I.e. if there are changed existing files commit them, but ignore any new files

@peter-evans
Copy link
Owner

Hi @mbrevda

There is no option for this in the action, but I think you can just add a step before the action runs to remove untracked files.

run: git clean -fd

@mbrevda mbrevda closed this as completed May 1, 2024
@mbrevda
Copy link
Author

mbrevda commented May 1, 2024

thanks! Not perfect, but good enough.

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

No branches or pull requests

2 participants