Closed Gnyblast closed 2 months ago
Idk if I'm mistaken or noone noticed it, you didn't set WORKDIR
as /github/workspace
which is the repo mount point or either to have cd "${GITHUB_WORKSPACE}" || exit
in your entrypoint.sh
.
So what I'm seeing when running the action, is that it does not know where the repository is.
- uses: actions/checkout@v4
with:
fetch-depth: 0
was needed. Closed.
Maybe consider updating the documentation because it tooks me to fork the code and add my commands to entrypoint to understand that it was just checking out the top commit with no history backwards.
Then I was this in the example you put, and it suddenly rang the bell. I think that should be explicitly mentioned.
fetch-depth
is already a part of the examples. Do you mean explicitly adding a warning?
I'd appreciate a PR :)
fetch-depth
is already a part of the examples. Do you mean explicitly adding a warning?I'd appreciate a PR :)
Yeah exactly because without it, almost nothing works. So it's an explicity dependency.
I will fork and create a PR no worries.
I guess this can be closed since #25 merged in.
I have the below error even though I have
latest
tag created in my repo. And locally withgit-cliff
I cannot reproduce this error, everything works except the github-actions container.