[GH-ISSUE #72] respect local and global gitignore #45

Closed
opened 2026-03-01 21:39:21 +03:00 by kerem · 1 comment
Owner

Originally created by @maxheld83 on GitHub (Jul 2, 2019).
Original GitHub issue: https://github.com/nektos/act/issues/72

I have a project which creates local *.so on compilation.
These are never git commited (naturally). They appear to be gitignored because of a system (default?) .gitignore.

It would be good if act could similarly respect any local or global/default .gitignores.

Otherwise, this can lead to thorny problems, in this case, a bad ELF header.

Perhaps act should simply commit whatever is on the working tree as a first step, maybe in a tempdir and run from there.
By relying on the local git add/commit we'd automatically respect whatever .gitignore action was in place

Originally created by @maxheld83 on GitHub (Jul 2, 2019). Original GitHub issue: https://github.com/nektos/act/issues/72 I have a project which creates local `*.so` on compilation. These are never git commited (naturally). They appear to be gitignored because of a system (default?) `.gitignore`. It would be good if `act` could similarly respect any local or global/default `.gitignore`s. Otherwise, this can lead to thorny problems, in this case, a bad ELF header. Perhaps act should simply commit whatever is on the working tree as a first step, maybe in a tempdir and run from there. By relying on the local `git add/commit` we'd automatically respect whatever `.gitignore` action was in place
kerem closed this issue 2026-03-01 21:39:21 +03:00
Author
Owner

@cplee commented on GitHub (Feb 25, 2020):

duplicates #50

<!-- gh-comment-id:590713908 --> @cplee commented on GitHub (Feb 25, 2020): duplicates #50
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#45
No description provided.