It is a well known limitation that GitHub uses the pattern
<install_dir>/_work/<repo_name>/<repo_name>/ as the working
directory on the GitHub workflow agents.
It is redundant and particularly impactful on Windows as discussed
below:
This especially causes an issue in a Mu repository at the moment
(mu_common_intel_min_platform) due to its longer name which is
repeated twice in the path (as <repo-name>).
This change is limited to the GitHub CodeQL workflow and was found
to resolve the issue encountered and not raise any additional issues
in this workflow in testing.
It is a well known limitation that GitHub uses the pattern
<install_dir>/_work/<repo_name>/<repo_name>/
as the working directory on the GitHub workflow agents.It is redundant and particularly impactful on Windows as discussed below:
https://github.com/msysgit/msysgit/wiki/Git-cannot-create-a-file-or-directory-with-a-long-path
This especially causes an issue in a Mu repository at the moment (
mu_common_intel_min_platform
) due to its longer name which is repeated twice in the path (as<repo-name>
).This change is limited to the GitHub CodeQL workflow and was found to resolve the issue encountered and not raise any additional issues in this workflow in testing.
Signed-off-by: Michael Kubacki michael.kubacki@microsoft.com