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
Despite the final debug log from actions/checkout of git log -1 --format='%H' producing the correct value, when run in the cloned repository, it shows a different (older) commit hash.
The script does not set up authentication, so git pull origin <branch> is not possible.
The cloned repository is at a different point in time. git reset --hard HEAD reverts to that commit and git reset --hard abcde results in the hash not being known.
The text was updated successfully, but these errors were encountered:
When using the
path
variable to clone a repository into another folder, the repo is not cloned to the correct commit, and git is not set up properlyExpected Result:
Actual Result:
Despite the final debug log from
actions/checkout
ofgit log -1 --format='%H'
producing the correct value, when run in the cloned repository, it shows a different (older) commit hash.The script does not set up authentication, so
git pull origin <branch>
is not possible.The cloned repository is at a different point in time.
git reset --hard HEAD
reverts to that commit andgit reset --hard abcde
results in the hash not being known.The text was updated successfully, but these errors were encountered: