You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then using a PAT, that I have confirmed works locally and in other actions, checkout fails to be able to checkout either the workflow's repo or remote repos (private).
actions/checkout@v4
with:
token: ***
repository: <our-org>/<our-repo>
ssh-strict: true
ssh-user: git
persist-credentials: true
clean: true
sparse-checkout-cone-mode: true
fetch-depth: 1
fetch-tags: false
show-progress: true
lfs: false
submodules: false
set-safe-directory: true
Syncing repository: <our-org>/<our-repo>
Getting Git version info
Temporarily overriding HOME='/home/runner/work/_temp/1cc82281-8c54-4632-b165-99d8270d4ae6' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/<our-repo>/<our-repo>
Deleting the contents of '/home/runner/work/<our-repo>/<our-repo>'
Initializing the repository
/usr/bin/git init /home/runner/work/<our-repo>/<our-repo>
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/runner/work/<our-repo>/<our-repo>/.git/
/usr/bin/git remote add origin https://github.com/<our-org>/<our-repo>
Disabling automatic garbage collection
/usr/bin/git config --local gc.auto 0
Setting up auth
/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +09449099e25a268d521465205e31470193b5ca74:refs/remotes/pull/16/merge
Error: fatal: could not read Username for'https://github.com/': terminal prompts disabled
The process '/usr/bin/git' failed with exit code 128
Waiting 14 seconds before trying again
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +09449099e25a268d521465205e31470193b5ca74:refs/remotes/pull/16/merge
Error: fatal: could not read Username for'https://github.com/': terminal prompts disabled
The process '/usr/bin/git' failed with exit code 128
Waiting 11 seconds before trying again
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +09449099e25a268d521465205e31470193b5ca74:refs/remotes/pull/16/merge
Error: fatal: could not read Username for'https://github.com/': terminal prompts disabled
Error: The process '/usr/bin/git' failed with exit code 128
Run actions/checkout@v4
Syncing repository: <our-org>/<our-other-repo>
Getting Git version info
Working directory is '/home/runner/work/<our-org>/<our-repo>/<our-other-repo>'
/usr/bin/git version
git version 2.47.1
Temporarily overriding HOME='/home/runner/work/_temp/9b9ea95e-6597-4ba7-9790-0e25b13f6f9d' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/<our-org>/<our-repo>/<our-other-repo>
Initializing the repository
/usr/bin/git init /home/runner/work/<our-org>/<our-repo>/<our-other-repo>
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/runner/work/<our-org>/<our-repo>/<our-other-repo>/.git/
/usr/bin/git remote add origin https://github.com/<our-org>/<our-other-repo>
Disabling automatic garbage collection
/usr/bin/git config --local gc.auto 0
Setting up auth
/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/python-sdk*:refs/remotes/origin/python-sdk* +refs/tags/python-sdk*:refs/tags/python-sdk*
Error: fatal: could not read Username for'https://github.com': terminal prompts disabled
The process '/usr/bin/git' failed with exit code 128
Waiting 17 seconds before trying again
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/python-sdk*:refs/remotes/origin/python-sdk* +refs/tags/python-sdk*:refs/tags/python-sdk*
Error: fatal: could not read Username for'https://github.com': terminal prompts disabled
The process '/usr/bin/git' failed with exit code 128
Waiting 20 seconds before trying again
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/python-sdk*:refs/remotes/origin/python-sdk* +refs/tags/python-sdk*:refs/tags/python-sdk*
Error: fatal: could not read Username for'https://github.com': terminal prompts disabled
Error: The process '/usr/bin/git' failed with exit code 128
The text was updated successfully, but these errors were encountered:
Then using a PAT, that I have confirmed works locally and in other actions, checkout fails to be able to checkout either the workflow's repo or remote repos (private).
This doesn't work
Nor does this
The text was updated successfully, but these errors were encountered: