-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
[BUG] Git fails to authenticate when running locally with nektos/act #849
Comments
Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience. |
@CHarnel curious does - uses: actions/checkout@v3 |
@CHarnel I’ll recommend you setup the https://github.com/actions/checkout with |
Hey @jackton1 thanks for the answer, my checkout step looks like this: - uses: actions/checkout@v3
with:
fetch-depth: 0
...
I just tried setting it to true explicitly and it didn't help. |
Also tried running the action without any params at all, like this: - name: Check for changes
id: changes
uses: tj-actions/changed-files@v34 |
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
Hi, the action fails with message
Failure - Main # "Calculating the previous and current SHA..."
when running locally with nektos/act. It works as expected on GitHub actions.I wrote on a seemingly related issue in nektos/act here.
The only reason I'm opening an issue here, is because another git-related action (this) runs in the same repo with the same setup.
I have a .secrets file with a PAT in GITHUB_TOKEN key.
To Reproduce
act workflow_dispatch --rm -W ./.github/workflows/your-workflow.yml --secret-file .secrets
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
Run like on GitHub actions
Relevant log output
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: