[GH-ISSUE #568] Issue: #383

Closed
opened 2026-03-01 21:42:53 +03:00 by kerem · 4 comments
Owner

Originally created by @Disturbing on GitHub (Mar 17, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/568

Act version

act version 0.2.20

Expected behaviour

When running an act, I expect all repo files to be there when actions/checkout is ran

Actual behaviour

Some files are missing for some reason.

Workflow and/or repository

C
Cannot share the repo as it's private. But there a 755 bash file called hermit in ./bin in the repo. It does not exist when running on act, but exists on github.com

steps:
- uses: actions/checkout@v2
- run: cd ./bin && ls
- run: ./bin/hermit env >> $GITHUB_ENV

Steps to reproduce

act output

[ci/cd/ci ] Run cd ./bin && ls
| README.hermit.md aws go golangci-lint hermit.hcl protoc
| activate-hermit aws_completer gofmt goreleaser make
[ci/cd/ci ] Success - cd ./bin && ls
[ci/cd/ci ] Run ./bin/hermit env >> $GITHUB_ENV
| /github/workflow/4: line 1: ./bin/hermit: No such file or directory
[ci/cd/ci ] Failure - ./bin/hermit env >> $GITHUB_ENV

Originally created by @Disturbing on GitHub (Mar 17, 2021). Original GitHub issue: https://github.com/nektos/act/issues/568 ## Act version act version 0.2.20 ## Expected behaviour When running an act, I expect all repo files to be there when actions/checkout is ran ## Actual behaviour Some files are missing for some reason. ## Workflow and/or repository C Cannot share the repo as it's private. But there a 755 bash file called hermit in ./bin in the repo. It does not exist when running on act, but exists on github.com steps: - uses: actions/checkout@v2 - run: cd ./bin && ls - run: ./bin/hermit env >> $GITHUB_ENV ## Steps to reproduce ## `act` output [ci/cd/ci ] ⭐ Run cd ./bin && ls | README.hermit.md aws go golangci-lint hermit.hcl protoc | activate-hermit aws_completer gofmt goreleaser make [ci/cd/ci ] ✅ Success - cd ./bin && ls [ci/cd/ci ] ⭐ Run ./bin/hermit env >> $GITHUB_ENV | /github/workflow/4: line 1: ./bin/hermit: No such file or directory [ci/cd/ci ] ❌ Failure - ./bin/hermit env >> $GITHUB_ENV
kerem 2026-03-01 21:42:53 +03:00
Author
Owner

@Disturbing commented on GitHub (Mar 17, 2021):

If i use --bind it works fine.

<!-- gh-comment-id:800854848 --> @Disturbing commented on GitHub (Mar 17, 2021): If i use --bind it works fine.
Author
Owner

@jsoref commented on GitHub (Apr 4, 2021):

  1. Does this problem happen with v0.2.21 ?
  2. Can you create a public action with a shell script that just does:
    #!/bin/sh
    echo hello
    
<!-- gh-comment-id:813016730 --> @jsoref commented on GitHub (Apr 4, 2021): 1. Does this problem happen with v0.2.21 ? 2. Can you create a public action with a shell script that just does: ```sh #!/bin/sh echo hello ```
Author
Owner

@github-actions[bot] commented on GitHub (May 5, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:832331466 --> @github-actions[bot] commented on GitHub (May 5, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@Disturbing commented on GitHub (May 6, 2021):

i think act was not shutdown correctly and was attaching itself to an old directory after i used --bind once. I'll share more if i figure out how to repo it, but at the moment i deleted the mounted directories / storage in docker and it resolved my issue.

<!-- gh-comment-id:833179253 --> @Disturbing commented on GitHub (May 6, 2021): i think act was not shutdown correctly and was attaching itself to an old directory after i used --bind once. I'll share more if i figure out how to repo it, but at the moment i deleted the mounted directories / storage in docker and it resolved my issue.
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#383
No description provided.