[GH-ISSUE #248] Git pull asks for credentials when using actions/checkout@v2 #169

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

Originally created by @vibin on GitHub (May 18, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/248

I'm using actions/checkout@v2 which lets you run authenticated git commands like git pull.

On act, I get a prompt for login when running git pull but this works fine when running real Action.

When running the real Action, I see http.https://github.com/.extraheader=AUTHORIZATION: basic *** in the git config - but this is missing when running with act.

Originally created by @vibin on GitHub (May 18, 2020). Original GitHub issue: https://github.com/nektos/act/issues/248 I'm using `actions/checkout@v2` which lets you run authenticated git commands like git pull. On act, I get a prompt for login when running git pull but this works fine when running real Action. When running the real Action, I see `http.https://github.com/.extraheader=AUTHORIZATION: basic ***` in the git config - but this is missing when running with act.
kerem 2026-03-01 21:40:51 +03:00
Author
Owner

@cplee commented on GitHub (May 18, 2020):

dup of #233

<!-- gh-comment-id:630448852 --> @cplee commented on GitHub (May 18, 2020): dup of #233
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#169
No description provided.