-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Issue: actions/checkout doesn't copy git tracked but gitignored files #912
Comments
Have you tried |
Yes, it would work, see the second commit/run. But I shouldn't need to |
Right, we can't change behaviour because it will break functionality for other people |
I see three possible behaviors:
The current default is 2. The flag gets 1. I'm looking for 3. The distinction between 2 and 3 is imo a bug, hence this bug. |
Issue is stale and will be closed in 14 days unless there is new activity |
Please tag |
Issue is stale and will be closed in 14 days unless there is new activity |
It's still a thing... |
Issue is stale and will be closed in 14 days unless there is new activity |
It's still a thing... |
The general behavior of
.gitignore
doesn't prevent files that are tracked from being checked out. It just prevents from from being updated or added.I'd expect that act not copy over untracked files matched by
.gitignore
, but I'd expect it to include tracked files that are matched by.gitignore
.System information
act
: catthehacker/ubuntu:act-latestact
version: 0.2.25Expected behaviour
Files listed in
.gitignore
should be present in the checked out repositoryActual behaviour
Files listed in
.gitignore
are not presentWorkflow and/or repository
jsoref/ignored@bfbee7f
https://github.com/jsoref/ignored/runs/4398686247?check_suite_focus=true
jsoref/ignored@5e20813
https://github.com/jsoref/ignored/runs/4398859601?check_suite_focus=true
Steps to reproduce
act
outputLog
The text was updated successfully, but these errors were encountered: