-
Notifications
You must be signed in to change notification settings - Fork 1.1k
workspace for jobs uses repo/repo instead of org/repo #1074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
you can use
|
would it make more sense then to go like:
|
I'm not sure I've tried putting a second |
Seems to work the same way in github.com hosted runners, the working directory is I did some testing with a self-hosted runner and a cloud runner. |
We have the same problem in our projects with large repository names. We're using GitHub EMU. I think better for everyone is you can set a work folder in the "on runner" statements. And we can chose a name that works to the project and don't have a large path that damages your build. Lots of our repository builds doesn't work because that. Where was "repo/repo/" could be "s/" for example. |
I wonder if it would be better to just be a uuid (eg. |
Describe the bug
The workspace for the job is
repo/repo
notorg/repo
, while using self-hosted runners on github.com with a single organisation that is fine, but against enterprise there may be multiple orgs with the same repo name that are used by the same runners.Example:
/home/ubuntu/actions-runner/_work/actions-test/actions-test
instead of/home/ubuntu/actions-runner/_work/testorg/actions-test
Runner Version and Platform
Version of your runner? 2.273.5
OS of the machine running the runner? Ubuntu 20.04.2 LTS
The text was updated successfully, but these errors were encountered: