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
A subsequent step runs failed seems is due to this problem, although the checkout step is success.
As I known, when executing checkout, by default the HEAD should be at the 'GITHUB_SHA', unless we specify another commit SHA by using the 'ref' key on the checkout action.
So, in the customer's cause, if the 'GITHUB_SHA' actually is '7318c1c8750fde75becae1467aecd22a7678b4ee', the logs of the checkout should looks like:
HEAD is now at 7318c1c Merge ...
I tested the checkout action with both v1 and v2 on my side, but never reproduced the issue.
The text was updated successfully, but these errors were encountered:
Associated community ticket: https://github.community/t/weird-github-sha-on-an-action/125831
The customer setup a workflow runs on pull request event. When executing the action 'Checkout v1' in the workflow,
the logs of the checkout action shows:
but when he print the commit SHA (GITHUB_SHA or github.sha), it is a different one.
A subsequent step runs failed seems is due to this problem, although the checkout step is success.
As I known, when executing checkout, by default the HEAD should be at the 'GITHUB_SHA', unless we specify another commit SHA by using the 'ref' key on the checkout action.
So, in the customer's cause, if the 'GITHUB_SHA' actually is '7318c1c8750fde75becae1467aecd22a7678b4ee', the logs of the checkout should looks like:
I tested the checkout action with both v1 and v2 on my side, but never reproduced the issue.
The text was updated successfully, but these errors were encountered: