eric sciple
eric sciple
You may need to specify the checkout `path` input to avoid the volume mount being under the repository. The containers are setup at the beginning of the job. And git...
I'm going to add a troubleshooting doc. I'll add a section for this.
related: https://github.com/actions/runner/pull/1970 and https://github.com/actions/runner/pull/1971
For improved perf, v2 only fetches a single commit by default. If you set `fetch-depth: 0` then will fetch all history for all branches and tags and the short sha...
Thanks for confirmation. Fyi - I updated the title to clarify "short sha" instead of "single ref"
Also I marked as enhancement. Adding some thoughts regarding implementation: I wonder if the `git fetch` allows a short sha, or whether would need to query REST API to resolve....
+1 i didnt realize the built-in GITHUB_TOKEN has push permission... i'll open an adr shortly...
ADR: https://github.com/actions/checkout/pull/158
Also note, in the interim it looks like [`GIT_AUTHOR_NAME` etc](https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables) can be specified
Does it fail on forks PRs only?