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
The GitHub action workflows using the actions/checkout action to fetch the repository that triggered the workflow. However, by default only the history of the latest commit is fetched which results in errors when wand tries to extract repository metadata information like the amount of commits ahead of the latest commit. As an example this can be seen when running the bootstrap command in the test job of the ci-go workflow which fails with an object not found error because the history only contains a single commit.
The GitHub action workflows using the
actions/checkout
action to fetch the repository that triggered the workflow. However, by default only the history of the latest commit is fetched which results in errors when wand tries to extract repository metadata information like the amount of commits ahead of the latest commit. As an example this can be seen when running thebootstrap
command in thetest
job of theci-go
workflow which fails with anobject not found
error because the history only contains a single commit.To fix this problem
action/checkout
provides an option to fetch all history for all tags and branches which will be used to prevent errors like this in the pipeline.The text was updated successfully, but these errors were encountered: