actions / actions/runner

workspace for jobs uses repo/repo instead of org/repo

Open
#1,074 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Runner Bug
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

Describe the bug

The workspace for the job is repo/repo not org/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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the workspace path on a self-hosted runner using the reported runner version and Ubuntu platform, comparing github.com with an enterprise instance that has duplicate repository names across organizations. Trace how the runner constructs the workspace path and confirm that the completed path includes the organization name, such as /home/ubuntu/actions-runner/_work/testorg/actions-test.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.